[quake3-commits] [ioquake/ioq3] d1d5a8: OpenGL2: GL_DEPTH_TEXTURE_MODE was removed from Op...

Zack Middleton noreply at github.com
Sat Oct 23 12:57:34 EDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/ioquake/ioq3
  Commit: d1d5a89aad5673fa465a6ea6973195d7e981dd94
      https://github.com/ioquake/ioq3/commit/d1d5a89aad5673fa465a6ea6973195d7e981dd94
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2021-10-23 (Sat, 23 Oct 2021)

  Changed paths:
    M code/renderergl2/tr_image.c

  Log Message:
  -----------
  OpenGL2: GL_DEPTH_TEXTURE_MODE was removed from OpenGL 3.0/Core

GL_DEPTH_TEXTURE_MODE defaults to GL_LUMINANCE. Code sets it here as
part of a workaround old nvidia drivers (apparently? the URL in comment
is dead). GL_DEPTH_TEXTURE_MODE was removed in OpenGL 3.0 / 3.2 Core
contexts and may be treated as an error.




More information about the quake3-commits mailing list