aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-07-16 14:58:53 +0200
committerraysan5 <raysan5@gmail.com>2016-07-16 14:58:53 +0200
commit0fbd48a8890d5f3e2158dbec12a6e452b6fb81b0 (patch)
tree85981b87d6f5fce5b792fabb4a91d472c332feea /src/Makefile
parentb7b51569e263f87163502cd6fa6820c934929167 (diff)
downloadraylib-0fbd48a8890d5f3e2158dbec12a6e452b6fb81b0.tar.gz
raylib-0fbd48a8890d5f3e2158dbec12a6e452b6fb81b0.zip
Corrected bug on OpenGL 1.1
Set makefile to default OpenGL 3.3 compilation
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 33b666b4..b37cccf8 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -49,10 +49,10 @@ ifeq ($(PLATFORM),PLATFORM_RPI)
# define raylib graphics api to use (on RPI, OpenGL ES 2.0 must be used)
GRAPHICS = GRAPHICS_API_OPENGL_ES2
else
- # define raylib graphics api to use (OpenGL 1.1 by default)
- GRAPHICS ?= GRAPHICS_API_OPENGL_11
+ # define raylib graphics api to use (OpenGL 3.3 by default)
+ GRAPHICS ?= GRAPHICS_API_OPENGL_33
+ #GRAPHICS = GRAPHICS_API_OPENGL_11 # Uncomment to use OpenGL 1.1
#GRAPHICS = GRAPHICS_API_OPENGL_21 # Uncomment to use OpenGL 2.1
- #GRAPHICS = GRAPHICS_API_OPENGL_33 # Uncomment to use OpenGL 3.3
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
GRAPHICS = GRAPHICS_API_OPENGL_ES2