OPENGL: Some slight formatting fixes.
svn-id: r54755
This commit is contained in:
parent
bd6f33380e
commit
f1d961a35e
3 changed files with 15 additions and 15 deletions
|
@ -177,10 +177,10 @@ void GLTexture::drawTexture(GLshort x, GLshort y, GLshort w, GLshort h) {
|
|||
|
||||
// Calculate the screen rect where the texture will be drawn
|
||||
const GLshort vertices[] = {
|
||||
x, y,
|
||||
x + w, y,
|
||||
x, y + h,
|
||||
x + w, y + h,
|
||||
x, y,
|
||||
x + w, y,
|
||||
x, y + h,
|
||||
x + w, y + h,
|
||||
};
|
||||
glVertexPointer(2, GL_SHORT, 0, vertices); CHECK_GL_ERROR();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue