WINTERMUTE: WME3D: Fixed drawLine and enabled update save indicator
This commit is contained in:
parent
b7b71597fe
commit
6fd582b3ad
2 changed files with 5 additions and 6 deletions
|
@ -325,8 +325,8 @@ bool BaseRenderOpenGL3D::drawLine(int x1, int y1, int x2, int y2, uint32 color)
|
|||
|
||||
glBegin(GL_LINES);
|
||||
glColor4ub(r, g, b, a);
|
||||
glVertex3f(x1, y1, 0.9f);
|
||||
glVertex3f(x2, y2, 0.9f);
|
||||
glVertex3f(x1, _height - y1, 0.9f);
|
||||
glVertex3f(x2, _height - y2, 0.9f);
|
||||
glEnd();
|
||||
|
||||
return true;
|
||||
|
@ -441,7 +441,7 @@ bool Wintermute::BaseRenderOpenGL3D::flip() {
|
|||
}
|
||||
|
||||
bool BaseRenderOpenGL3D::indicatorFlip() {
|
||||
warning("BaseRenderOpenGL3D::indicatorFlip not yet implemented");
|
||||
flip();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue