mirror of
https://github.com/glest/glest-source.git
synced 2025-08-17 21:51:17 +02:00
- bugfix for icon size in windows header (shows proper size now)
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user