ioq3quest/code/renderergl1
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
..
tr_altivec.c Isolate the Altivec code so non-Altivec PPC targets can use the same binary. 2018-05-12 14:14:47 -04:00
tr_animation.c Allow more than 32 surfaces in skin files 2017-07-04 14:06:09 -05:00
tr_backend.c Restore OpenGL 1.1 support (GL_CLAMP) 2019-05-28 22:44:57 -05:00
tr_bsp.c Use standard offsetof facility. Dereferencing a null pointer results 2018-01-21 06:01:50 -06:00
tr_cmds.c Replace 4 with sizeof( int ) in R_GetCommandBufferReserved 2015-10-17 21:58:11 -05:00
tr_curve.c renderer -> renderergl1, rend2 -> renderergl2 2013-02-15 23:46:37 +00:00
tr_flares.c Fix flares being invisible after vid_restart 2013-11-09 16:57:58 -06:00
tr_image.c Restore OpenGL 1.1 support (GL_CLAMP) 2019-05-28 22:44:57 -05:00
tr_init.c Restore OpenGL 1.1 support (GL_CLAMP) 2019-05-28 22:44:57 -05:00
tr_light.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
tr_local.h Fix rendering IQM models between model frames 2019-04-29 15:01:47 -05:00
tr_main.c Only draw cm_patch/bot debug polygons in world scenes 2017-10-08 07:18:40 -05:00
tr_marks.c OpenGL1: Decay float[8] to float * in tr_marks.c 2018-04-08 21:41:31 -05:00
tr_mesh.c Allow more than 32 surfaces in skin files 2017-07-04 14:06:09 -05:00
tr_model.c Make R_LerpTag return qfalse if MDR tag does not exist 2014-05-06 21:10:16 -05:00
tr_model_iqm.c Fix IQM quat normalize fail case 2019-05-28 21:00:02 -05:00
tr_scene.c Fix floating point precision loss in renderer [part 2] 2017-08-03 00:14:22 -05:00
tr_shade.c Isolate the Altivec code so non-Altivec PPC targets can use the same binary. 2018-05-12 14:14:47 -04:00
tr_shade_calc.c Isolate the Altivec code so non-Altivec PPC targets can use the same binary. 2018-05-12 14:14:47 -04:00
tr_shader.c Correct spelling mistakes. 2017-11-22 01:40:20 -06:00
tr_shadows.c Fix stencil shadows not drawing if has 500 or more vertexes 2014-11-16 21:21:30 -06:00
tr_sky.c Explicitly set cull type for skybox 2016-05-16 03:17:03 -05:00
tr_subs.c renderer -> renderergl1, rend2 -> renderergl2 2013-02-15 23:46:37 +00:00
tr_surface.c Isolate the Altivec code so non-Altivec PPC targets can use the same binary. 2018-05-12 14:14:47 -04:00
tr_world.c Fix undefined behavior when shifting left by 32. 2016-09-07 16:56:23 -07:00