Skip to content

Commit

Permalink
fix windwos build
Browse files Browse the repository at this point in the history
  • Loading branch information
marekmaskarinec committed Oct 11, 2022
1 parent 532c4e6 commit ed2702e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@

#include "tophat.h"

#ifndef GL_UNSIGNED_INT_8_8_8_8
#define GL_UNSIGNED_INT_8_8_8_8 0x8035
#endif

#ifdef _WIN32
#define glActiveTexture glActiveTextureCHEW
#define GL_UNSIGNED_INT_8_8_8_8 0x8035
#endif

extern th_global *thg;
Expand Down

0 comments on commit ed2702e

Please sign in to comment.