[quake3-commits] [ioquake/ioq3] 2a2646: Fix IQM quat normalize fail case
Zack Middleton
noreply at github.com
Tue May 28 23:46:13 EDT 2019
Branch: refs/heads/master
Home: https://github.com/ioquake/ioq3
Commit: 2a2646fe43887bf19494769f562904c4d2ed551a
https://github.com/ioquake/ioq3/commit/2a2646fe43887bf19494769f562904c4d2ed551a
Author: Zack Middleton <zack at cloemail.com>
Date: 2019-05-28 (Tue, 28 May 2019)
Changed paths:
M code/renderergl1/tr_model_iqm.c
M code/renderergl2/tr_model_iqm.c
Log Message:
-----------
Fix IQM quat normalize fail case
Should only happen with invalid models though.
Commit: 0fbde293db42b26e41c54150a11abb10ec04df74
https://github.com/ioquake/ioq3/commit/0fbde293db42b26e41c54150a11abb10ec04df74
Author: Zack Middleton <zack at cloemail.com>
Date: 2019-05-28 (Tue, 28 May 2019)
Changed paths:
M code/sdl/sdl_glimp.c
Log Message:
-----------
Remove erroneous newlines from Com_Error in sdl_glimp.c
Commit: 350b8f9c7c88c002dccea4f0350f1919b86d3b4e
https://github.com/ioquake/ioq3/commit/350b8f9c7c88c002dccea4f0350f1919b86d3b4e
Author: Zack Middleton <zack at cloemail.com>
Date: 2019-05-28 (Tue, 28 May 2019)
Changed paths:
M code/renderercommon/tr_common.h
M code/renderergl1/tr_backend.c
M code/renderergl1/tr_image.c
M code/renderergl1/tr_init.c
M code/renderergl2/tr_init.c
M code/sdl/sdl_glimp.c
Log Message:
-----------
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.
Compare: https://github.com/ioquake/ioq3/compare/95b9cab4d644...350b8f9c7c88
More information about the quake3-commits
mailing list