From fbe310f8d51bd0ae5979e63699a095cd2bc1bb13 Mon Sep 17 00:00:00 2001 From: T_chan Date: Tue, 18 Jan 2022 18:09:44 +0000 Subject: [PATCH] Add PixelStore parameters for Read/DrawPixels to increase compatibility --- include/GL/gl.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/GL/gl.h b/include/GL/gl.h index c456c86..793b64a 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -404,7 +404,18 @@ __BEGIN_DECLS /* Stubs for portability */ #define GL_ALPHA_TEST 0x0BC0 #define GL_STENCIL_TEST 0x0B90 +#define GL_UNPACK_SWAP_BYTES 0x0CF0 +#define GL_UNPACK_LSB_FIRST 0x0CF1 +#define GL_UNPACK_ROW_LENGTH 0x0CF2 +#define GL_UNPACK_SKIP_ROWS 0x0CF3 +#define GL_UNPACK_SKIP_PIXELS 0x0CF4 #define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_PACK_SWAP_BYTES 0x0D00 +#define GL_PACK_LSB_FIRST 0x0D01 +#define GL_PACK_ROW_LENGTH 0x0D02 +#define GL_PACK_SKIP_ROWS 0x0D03 +#define GL_PACK_SKIP_PIXELS 0x0D04 +#define GL_PACK_ALIGNMENT 0x0D05 #define GLAPI extern #define APIENTRY