[quake3-commits] [ioquake/ioq3] f9ba7c: OpenGL2: Fix r_grayscale 1 making everything solid...

Zack Middleton noreply at github.com
Sat Oct 23 06:38:27 EDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/ioquake/ioq3
  Commit: f9ba7c667db10fbf68cb0f1828c68208effcb47f
      https://github.com/ioquake/ioq3/commit/f9ba7c667db10fbf68cb0f1828c68208effcb47f
  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: Fix r_grayscale 1 making everything solid black

Using LUMINANCE with OpenGL 3.2 Core contex results in all images being
solid black (in the menu, world, and the console). In the end the whole
screen was solid black except the intro video.

Store images in RGB and RGBA instead. This doesn't affect r_grayscale
visually. If there is issues with it now possibly using compressed
formats, then it would already be an issue for r_grayscale 0.9.




More information about the quake3-commits mailing list