[GLExtensions] Remove a bunch of unneeded headers. Fix Linux+EGL compiling. Move include to glx.h around to work around it including global GL/gl.h

This commit is contained in:
Ryan Houdek
2014-01-13 03:14:09 -06:00
committed by degasus
parent 6cdb05b633
commit 3d4d3f6b11
6 changed files with 4 additions and 30 deletions

View File

@ -69,12 +69,6 @@ bool cXInterface::Initialize(void *config)
if (GLWin.parent == 0)
GLWin.parent = RootWindow(GLWin.dpy, GLWin.screen);
/* Set initial projection/viewing transformation.
* We can't be sure we'll get a ConfigureNotify event when the window
* first appears.
*/
glViewport(0, 0, (GLint) GLWin.width, (GLint) GLWin.height);
return true;
}