Skip to content

Commit c200575

Browse files
committed
added a couple of missing GL constants
1 parent 98d0743 commit c200575

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/processing/opengl/PGLES.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,9 @@ protected FontOutline createFontOutline(char ch, Object font) {
521521
RGBA4 = GLES20.GL_RGBA4;
522522
RGB5_A1 = GLES20.GL_RGB5_A1;
523523
RGB565 = GLES20.GL_RGB565;
524+
RGB8 = 0x8051;
525+
RGBA8 = 0x8058;
526+
ALPHA8 = -1;
524527

525528
READ_ONLY = -1;
526529
WRITE_ONLY = 0x88B9;
@@ -735,7 +738,6 @@ protected FontOutline createFontOutline(char ch, Object font) {
735738
READ_FRAMEBUFFER = -1;
736739
DRAW_FRAMEBUFFER = -1;
737740

738-
RGBA8 = 0x8058;
739741
DEPTH24_STENCIL8 = 0x88F0;
740742

741743
DEPTH_COMPONENT = GLES20.GL_DEPTH_COMPONENT;

0 commit comments

Comments
 (0)