diff options
Diffstat (limited to 'src/common.cpp')
-rw-r--r-- | src/common.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common.cpp b/src/common.cpp index 8dcbd11..660ed9d 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -1,11 +1,13 @@ #include <common.h> +#define DEBUG + GLuint loadTexture(const char *fileName){ SDL_Surface *image = IMG_Load(fileName); if(!image)return 0; #ifdef DEBUG - DEBUG_printf("Loaded image file: %s\n", fileName); + DEBUG_printf("Loaded image file: %s\n", fileName); #endif // DEBUG unsigned object = 0; //creates a new unsigned variable for the texture |