[quake3-bugzilla] [Bug 5510] New: Incorrect number of overbright bits printed by GfxInfo_f()
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Wed May 9 04:39:08 EDT 2012
https://bugzilla.icculus.org/show_bug.cgi?id=5510
Summary: Incorrect number of overbright bits printed by
GfxInfo_f()
Product: ioquake3
Version: SVN HEAD
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Video
AssignedTo: zakk at icculus.org
ReportedBy: belyshev at depni.sinp.msu.ru
QAContact: quake3-bugzilla at icculus.org
To print number of overbright bits correctly, GfxInfo_f() has to be called
after R_InitImages(), like this:
---
code/renderer/tr_init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: quake3/code/renderer/tr_init.c
===================================================================
--- quake3.orig/code/renderer/tr_init.c
+++ quake3/code/renderer/tr_init.c
@@ -214,9 +214,6 @@ static void InitOpenGL( void )
// init command buffers and SMP
R_InitCommandBuffers();
- // print info
- GfxInfo_f();
-
// set default state
GL_SetDefaultState();
}
@@ -1226,6 +1223,9 @@ void R_Init( void ) {
R_InitImages();
+ // print info (has to be called after R_InitImages())
+ GfxInfo_f();
+
R_InitShaders();
R_InitSkins();
--
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the quake3-bugzilla
mailing list