Merge remote-tracking branch 'origin/master' into x86
This commit is contained in:
commit
9731f38a06
|
@ -17,7 +17,7 @@
|
|||
__BEGIN_DECLS
|
||||
|
||||
#ifndef BUILD_LIBGL
|
||||
#include <GL/gl.h>
|
||||
#include <gl.h>
|
||||
#endif
|
||||
|
||||
#define GLU_FALSE 0
|
||||
|
|
|
@ -93,12 +93,12 @@ GLuint glTextureLoadPVR(char *fname, unsigned char isMipMapped, unsigned char gl
|
|||
if(texFormat != GL_UNSIGNED_SHORT_5_6_5)
|
||||
glCompressedTexImage2DARB(GL_TEXTURE_2D,
|
||||
0,
|
||||
texFormat,
|
||||
texW,
|
||||
texH,
|
||||
0,
|
||||
texSize,
|
||||
TEX0);
|
||||
texFormat,
|
||||
texW,
|
||||
texH,
|
||||
0,
|
||||
texSize,
|
||||
TEX0);
|
||||
else {
|
||||
fprintf(stderr, "%x\n", texFormat);
|
||||
glTexImage2D(GL_TEXTURE_2D,
|
||||
|
|
Loading…
Reference in New Issue
Block a user