- Fixed dependency of glext.h :)

This commit is contained in:
shashclp 2007-10-30 23:05:41 +00:00
parent 53380f6ba2
commit 73ff578a18
1 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#include <gl\gl.h> #include <gl\gl.h>
#include <gl\glext.h>
#include <math.h> #include <math.h>
#include <stdlib.h> #include <stdlib.h>
#include "..\debug.h" #include "..\debug.h"
@ -1093,7 +1092,7 @@ void NDS_glFlush(unsigned long v)
clInd = 0; clInd = 0;
glFlush(); glFlush();
glReadPixels(0,0,256,192,GL_BGR, GL_UNSIGNED_BYTE,GPU_screen3D); glReadPixels(0,0,256,192,GL_BGR_EXT, GL_UNSIGNED_BYTE,GPU_screen3D);
glReadPixels(0,0,256,192,GL_STENCIL_INDEX, GL_UNSIGNED_BYTE,GPU_screen3DMask); glReadPixels(0,0,256,192,GL_STENCIL_INDEX, GL_UNSIGNED_BYTE,GPU_screen3DMask);
numVertex = 0; numVertex = 0;