File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -457,12 +457,6 @@ void InitData()
457
457
g_cfgs[g_primary].renderer ->Clear (float3 (0 , 0 , 0 ), *g_outputs[g_primary].output );
458
458
}
459
459
460
- void Reshape (GLint w, GLint h)
461
- {
462
- // Disable window resize
463
- // glutReshapeWindow(g_window_width, g_window_height);
464
- }
465
-
466
460
void OnMouseMove (GLFWwindow* window, double x, double y)
467
461
{
468
462
if (g_is_mouse_tracking)
@@ -917,6 +911,7 @@ int main(int argc, char * argv[])
917
911
}
918
912
// Setup window
919
913
glfwSetErrorCallback (OnError);
914
+ glfwWindowHint (GLFW_RESIZABLE, GL_FALSE);
920
915
glfwWindowHint (GLFW_CONTEXT_VERSION_MAJOR, 3 );
921
916
glfwWindowHint (GLFW_CONTEXT_VERSION_MINOR, 3 );
922
917
glfwWindowHint (GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
You can’t perform that action at this time.
0 commit comments