raysan5/raylib

[rlgl] Raylib does not build with GRAPHICS_API_OPENGL_11 because GL_PROGRAM_POINT_SIZE is not available on OpenGL 1.1

hiperbou opened this issue · 0 comments

Issue description

Raylib is not building with OpenGL 1.1 and MinGW since this addition #3490

x86_64-w64-mingw32-gcc.exe -c rcore.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_11 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -m32 -std=c99 -O1 -Werror=implicit-function-declaration -I.  -Iexternal/glfw/include
In file included from rcore.c:114:
rlgl.h: In function 'rlEnablePointMode':
rlgl.h:1875:14: error: 'GL_PROGRAM_POINT_SIZE' undeclared (first use in this function)
 1875 |     glEnable(GL_PROGRAM_POINT_SIZE);
      |              ^~~~~~~~~~~~~~~~~~~~~

Environment

Tried on github Actions using windows-latest, and a 32 bit Windows 8.1 PC.