From 03694d85bfa17457954eaba30405732bcefeb4b6 Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Sat, 3 Apr 2021 21:15:03 +0100 Subject: [PATCH] Minor fixes --- include/glu.h | 2 +- samples/multitexture_arrays/pvr-texture.c | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/glu.h b/include/glu.h index 723ae93..ee9717d 100644 --- a/include/glu.h +++ b/include/glu.h @@ -17,7 +17,7 @@ __BEGIN_DECLS #ifndef BUILD_LIBGL -#include +#include #endif #define GLU_FALSE 0 diff --git a/samples/multitexture_arrays/pvr-texture.c b/samples/multitexture_arrays/pvr-texture.c index 66b16d7..3732803 100644 --- a/samples/multitexture_arrays/pvr-texture.c +++ b/samples/multitexture_arrays/pvr-texture.c @@ -9,10 +9,10 @@ #include -#include "gl.h" -#include "glu.h" -#include "glkos.h" -#include "glext.h" +#include "../include/gl.h" +#include "../include/glu.h" +#include "../include/glkos.h" +#include "../include/glext.h" #define PVR_HDR_SIZE 0x20 #define MAX(x, y) ((x > y) ? x : y) @@ -92,12 +92,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,