nothing
parent
8b90f90480
commit
b7dd4eb0a0
|
@ -674,7 +674,6 @@ OpenGLDebugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsi
|
||||||
internal void
|
internal void
|
||||||
Win32InitGL(){
|
Win32InitGL(){
|
||||||
// GL context initialization
|
// GL context initialization
|
||||||
{
|
|
||||||
PIXELFORMATDESCRIPTOR format;
|
PIXELFORMATDESCRIPTOR format;
|
||||||
format.nSize = sizeof(format);
|
format.nSize = sizeof(format);
|
||||||
format.nVersion = 1;
|
format.nVersion = 1;
|
||||||
|
@ -779,7 +778,6 @@ Win32InitGL(){
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ReleaseDC(win32vars.window_handle, dc);
|
ReleaseDC(win32vars.window_handle, dc);
|
||||||
}
|
|
||||||
|
|
||||||
glEnable(GL_TEXTURE_2D);
|
glEnable(GL_TEXTURE_2D);
|
||||||
glEnable(GL_SCISSOR_TEST);
|
glEnable(GL_SCISSOR_TEST);
|
||||||
|
@ -1112,7 +1110,6 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdS
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
link_system_code(&sysfunc);
|
link_system_code(&sysfunc);
|
||||||
Win32LoadRenderCode();
|
Win32LoadRenderCode();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue