mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[client] opengl: cosmetics
This commit is contained in:
parent
55d185ef9c
commit
d24b031fc5
@ -599,8 +599,8 @@ bool opengl_render(void * opaque, LG_RendererRotate rotate)
|
|||||||
|
|
||||||
case CONFIG_STATUS_NOOP :
|
case CONFIG_STATUS_NOOP :
|
||||||
case CONFIG_STATUS_OK :
|
case CONFIG_STATUS_OK :
|
||||||
if (!draw_frame(this))
|
if (!draw_frame(this))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
||||||
@ -1079,8 +1079,8 @@ static enum ConfigStatus configure(struct Inst * this)
|
|||||||
glTexCoord2f(1.0f, 0.0f); glVertex2i(this->format.width, 0 );
|
glTexCoord2f(1.0f, 0.0f); glVertex2i(this->format.width, 0 );
|
||||||
glTexCoord2f(0.0f, 1.0f); glVertex2i(0 , this->format.height);
|
glTexCoord2f(0.0f, 1.0f); glVertex2i(0 , this->format.height);
|
||||||
glTexCoord2f(1.0f, 1.0f); glVertex2i(this->format.width, this->format.height);
|
glTexCoord2f(1.0f, 1.0f); glVertex2i(this->format.width, this->format.height);
|
||||||
glEnd();
|
glEnd();
|
||||||
glBindTexture(GL_TEXTURE_2D, 0);
|
glBindTexture(GL_TEXTURE_2D, 0);
|
||||||
glEndList();
|
glEndList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user