ioq3quest/code/renderercommon
Zack Middleton 350b8f9c7c Restore OpenGL 1.1 support (GL_CLAMP)
GL_CLAMP (clamp to border) was changed to GL_CLAMP_TO_EDGE in 2008
(f2baf359). In 2018 (ce1d5406) I made OpenGL 1.2 be required since
GL_CLAMP_TO_EDGE is used.

Restore support for GL_CLAMP in order to support OpenGL 1.1 like vanilla
Quake 3 does. This should allow using the default Microsoft Windows
GDI Generic OpenGL 1.1 driver (untested but it won't fail the version
check at least).

From gpuinfo.org, it looks like drivers stopped advertising support for
GL_SGIS_texture_edge_clamp so use a version check in addition to the
extension check.

r_allowExtensions 0 disables using GL_CLAMP_TO_EDGE in the opengl1
renderer. GL_CLAMP support wasn't added to the opengl2 renderer.
2019-05-28 22:44:57 -05:00
..
iqm.h renderer -> renderergl1, rend2 -> renderergl2 2013-02-15 23:46:37 +00:00
qgl.h Load OpenGL ES 2.0 function procs 2018-07-20 23:40:21 -05:00
tr_common.h Restore OpenGL 1.1 support (GL_CLAMP) 2019-05-28 22:44:57 -05:00
tr_font.c Fix shifting bits out of byte in tr_font.c 2018-04-08 21:41:31 -05:00
tr_image_bmp.c Fix some of the things clang --analyze flagged 2013-03-26 16:50:03 +00:00
tr_image_jpg.c Fix error handling in RE_SaveJPGToBuffer(). 2015-12-21 01:05:55 -08:00
tr_image_pcx.c Add renderercommon/tr_common.h 2013-02-16 20:58:04 +00:00
tr_image_png.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
tr_image_tga.c Fix some of the things clang --analyze flagged 2013-03-26 16:50:03 +00:00
tr_noise.c Fix floating point precision loss in renderer [part 2] 2017-08-03 00:14:22 -05:00
tr_public.h Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
tr_types.h Correct spelling mistakes. 2017-11-22 01:40:20 -06:00