Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hiperbou opened this issue Mar 18, 2024 · 0 comments

Comments

@hiperbou
Copy link

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.

raysan5 added a commit that referenced this issue Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant