Bug 5878 - Rend2: Visual issues in Team Arena's Player menu
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Video
Version: GIT MASTER
Hardware: PC Linux
: P3 normal
Assignee: James Canete
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2013-02-11 16:41 EST by Zack Middleton
Modified: 2013-02-13 00:03:38 EST
0 users

See Also:



Description Zack Middleton 2013-02-11 16:41:59 EST
The help text isn't drawn. The back arrow is only drawn when help text should be drawn.
Comment 1 James Canete 2013-02-13 00:03:38 EST
I've committed a fix.

What was happening was that RE_StretchPic() queued up a surface draw, but was followed by a call to RE_StretchRaw().  This calls R_IssuePendingRenderCommands() to clear the queued up render commands, but it doesn't actually check if there's a pending surface draw at the end.

I'm not sure why this bug doesn't show up in opengl1, but adding a check to end any pending surface draws fixes it in Rend2.