[quake3-commits] [ioquake/ioq3] 20573b: Don't link to libGL at compile time
Zack Middleton
zack at cloemail.com
Mon Oct 2 00:15:23 EDT 2017
Branch: refs/heads/master
Home: https://github.com/ioquake/ioq3
Commit: 20573bce434c08d18293e3f8a093eab809e34d83
https://github.com/ioquake/ioq3/commit/20573bce434c08d18293e3f8a093eab809e34d83
Author: Zack Middleton <zack at cloemail.com>
Date: 2017-10-01 (Sun, 01 Oct 2017)
Changed paths:
M Makefile
M code/renderercommon/qgl.h
M code/renderergl2/tr_init.c
M code/sdl/sdl_glimp.c
Log Message:
-----------
Don't link to libGL at compile time
Get all OpenGL functions using SDL_GL_GetProcAddress(). This makes it
easier to cross-arch compile on Linux and add support for OpenGL ES
in the future.
Users still have to supply their own libSDL2 for cross-arch compiling
on Linux. But now the user does not have to re-install libgl1-mesa-dev
package for i386 or amd64 on Debian when switching between compiling
ioquake3 for x86 and x86_64.
Commit: c9d12aa3f3e7b43b5c6a9c2d79ecb988a0e76a05
https://github.com/ioquake/ioq3/commit/c9d12aa3f3e7b43b5c6a9c2d79ecb988a0e76a05
Author: Zack Middleton <zack at cloemail.com>
Date: 2017-10-01 (Sun, 01 Oct 2017)
Changed paths:
M code/renderercommon/qgl.h
M code/renderergl1/tr_init.c
M code/renderergl2/tr_extensions.c
M code/renderergl2/tr_init.c
M code/renderergl2/tr_local.h
M code/sdl/sdl_glimp.c
Log Message:
-----------
Add common OpenGL version parsing + OpenGL 3 fixes
- Parse OpenGL version in sdl_glimp.c to share with both renderers.
- Add GL_VERSION_ATLEAST(major, minor) macro.
- Get address of glGetStringi if using OpenGL 3.
- Fix glConfig.extensions_string when using GL3 core context in
opengl2 renderer.
- Make opengl1 renderer's gfxinfo support qglGetStringi too.
Commit: da07a6dbd9e391194720a45ab995b2954a72f307
https://github.com/ioquake/ioq3/commit/da07a6dbd9e391194720a45ab995b2954a72f307
Author: Zack Middleton <zack at cloemail.com>
Date: 2017-10-01 (Sun, 01 Oct 2017)
Changed paths:
M code/renderercommon/qgl.h
M code/sdl/sdl_glimp.c
Log Message:
-----------
Support parsing OpenGL ES version strings
The renderers don't support OpenGL ES though.
Compare: https://github.com/ioquake/ioq3/compare/51e9aa2df037...da07a6dbd9e3
More information about the quake3-commits
mailing list