diff --git a/Source/Glitch64/main.cpp b/Source/Glitch64/main.cpp index 50fdb6202..e622c0680 100644 --- a/Source/Glitch64/main.cpp +++ b/Source/Glitch64/main.cpp @@ -213,7 +213,7 @@ int screen_width, screen_height; static inline void opt_glCopyTexImage2D( GLenum target, GLint level, - GLenum internalFormat, + GLint internalFormat, GLint x, GLint y, GLsizei width,