index 2ddf6873ee963d64e8b085c7d1a941a897041b61..11dfdaeea189b39a6bc68ad41703e91254c270c6 100644 (file)
GL_STACK_OVERFLOW: s := 'GL_STACK_OVERFLOW';
GL_STACK_UNDERFLOW: s := 'GL_STACK_UNDERFLOW';
GL_OUT_OF_MEMORY: s := 'GL_OUT_OF_MEMORY';
- GL_TABLE_TOO_LARGE: s := 'GL_TABLE_TOO_LARGE';
+ {$IFNDEF USE_GLES1}
+ GL_TABLE_TOO_LARGE: s := 'GL_TABLE_TOO_LARGE';
+ {$ENDIF}
otherwise s := '';
end;
- if s = '' then
+ if s <> '' then
e_LogWritefln('%s: %s', [msg, s])
else
e_LogWritefln('%s: error code %s', [msg, code]);