[quake3-commits] [ioquake/ioq3] d13d06: OpenGL2: Disable r_cubeMapping if not OpenGL 3.0+

Zack Middleton noreply at github.com
Tue Apr 16 13:17:47 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: d13d06424e5a8f0cf1ce68c939397e55bd5cdca7
      https://github.com/ioquake/ioq3/commit/d13d06424e5a8f0cf1ce68c939397e55bd5cdca7
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2019-04-16 (Tue, 16 Apr 2019)

  Changed paths:
    M code/renderergl2/tr_init.c

  Log Message:
  -----------
  OpenGL2: Disable r_cubeMapping if not OpenGL 3.0+

r_cubeMapping requires textureCubeLod() which is only in OpenGL 3.0
(GLSL 1.30) and later. It's not in OpenGL ES 3.0 / GLSL ES 3.00.
This needs to be checked before R_InitImages() so can't just check in
GLSL_InitGPUShaders().




More information about the quake3-commits mailing list