Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-samples
/ reshape
Function
reshape
cpp/0_Introduction/simpleCUDA2GL/main.cpp:413–417 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
411
}
412
413
void reshape(int w, int h)
414
{
415
window_width = w;
416
window_height = h;
417
}
418
419
void mainMenu(int i) { keyboard((unsigned char)i, 0, 0); }
420
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected