Add backend/gl/glx.c to build

Still a long way to go for the glx backend.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2018-12-31 01:32:31 +00:00
parent 3e7b7bd608
commit 61f55f69a6
5 changed files with 223 additions and 281 deletions

View File

@@ -5,7 +5,7 @@ if get_option('new_backends')
# enable opengl
if get_option('opengl')
srcs += [ files('gl/gl_common.c') ]
srcs += [ files('gl/gl_common.c', 'gl/glx.c') ]
deps += [ dependency('gl', required: true) ]
cflags += [ '-DGL_GLEXT_PROTOTYPES' ]
endif