diff options
Diffstat (limited to 'src/menu/frame_background_image.cpp')
-rw-r--r-- | src/menu/frame_background_image.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/menu/frame_background_image.cpp b/src/menu/frame_background_image.cpp index 53036541..893d573c 100644 --- a/src/menu/frame_background_image.cpp +++ b/src/menu/frame_background_image.cpp @@ -34,16 +34,12 @@ namespace usdx this->vertices[0] = 0.0f; this->vertices[1] = 600.0f; - this->vertices[2] = 0.0f; - this->vertices[3] = 800.0f; - this->vertices[4] = 600.0f; + this->vertices[2] = 800.0f; + this->vertices[3] = 600.0f; + this->vertices[4] = 800.0f; this->vertices[5] = 0.0f; - this->vertices[6] = 800.0f; + this->vertices[6] = 0.0f; this->vertices[7] = 0.0f; - this->vertices[8] = 0.0f; - this->vertices[9] = 0.0f; - this->vertices[10] = 0.0f; - this->vertices[11] = 0.0f; this->color[0] = 255; this->color[1] = 255; @@ -89,7 +85,7 @@ namespace usdx glEnableClientState(GL_TEXTURE_COORD_ARRAY); glEnableClientState(GL_COLOR_ARRAY); - glVertexPointer(3, GL_FLOAT, 0, vertices); + glVertexPointer(2, GL_FLOAT, 0, vertices); glColorPointer(4, GL_UNSIGNED_BYTE, 0, color); glTexCoordPointer(2, GL_FLOAT, 0, tex); |