- bugfix for icon size in windows header (shows proper size now)

This commit is contained in:
Mark Vejvoda
2012-01-07 20:02:40 +00:00
parent 61b51eb9ed
commit 1f60d2606a
2 changed files with 6 additions and 3 deletions

View File

@@ -99,8 +99,11 @@ SDL_Surface* Texture2D::CreateSDLSurface(bool newPixelData) const {
// SDL_Surface *prepGLTexture(SDL_Surface *surface, GLfloat *texCoords = NULL, const bool
// freeSource = false) {
/* Use the surface width and height expanded to powers of 2 */
int w = powerOfTwo(surface->w);
int h = powerOfTwo(surface->h);
//int w = powerOfTwo(surface->w);
//int h = powerOfTwo(surface->h);
int w = surface->w;
int h = surface->h;
// if (texCoords != 0) {
// texCoords[0] = 0.0f; /* Min
// X */