|
@@ -116,10 +116,6 @@ bool ShellRenderInterfaceOpenGL::AttachToNative(void *nativeWindow)
|
|
|
|
|
|
|
|
glMatrixMode(GL_PROJECTION);
|
|
glMatrixMode(GL_PROJECTION);
|
|
|
glLoadIdentity();
|
|
glLoadIdentity();
|
|
|
- RECT crect;
|
|
|
|
|
- GetClientRect(this->window_handle, &crect);
|
|
|
|
|
- glOrtho(0, (crect.right - crect.left), (crect.bottom - crect.top), 0, -1, 1);
|
|
|
|
|
-
|
|
|
|
|
glMatrixMode(GL_MODELVIEW);
|
|
glMatrixMode(GL_MODELVIEW);
|
|
|
glLoadIdentity();
|
|
glLoadIdentity();
|
|
|
|
|
|