TINYGL: Few functions are not allowed to be on call lists

This commit is contained in:
Paweł Kołodziejski 2023-02-20 23:39:10 +01:00
parent 62ca8c9cf1
commit e1118a6882
No known key found for this signature in database
GPG key ID: 0BDADC9E74440FF7
5 changed files with 23 additions and 38 deletions

View file

@ -244,10 +244,7 @@ error:
}
}
void GLContext::glopPixelStore(GLParam *p) {
int pname = p[1].i;
int param = p[2].i;
void GLContext::gl_PixelStore(TGLenum pname, TGLint param) {
if (pname != TGL_UNPACK_ALIGNMENT || param != 1) {
error("tglPixelStore: unsupported option");
}