- bugfix for icon size in windows header (shows proper size now)
This commit is contained in:
parent
61b51eb9ed
commit
1f60d2606a
|
@ -3,7 +3,7 @@ set -e
|
|||
# Use this script to copy shared (libs) files to specified location
|
||||
# ----------------------------------------------------------------------------
|
||||
# Written by Vivek Gite <http://www.cyberciti.biz/>
|
||||
# (c) 2006 nixCraft under GNU GPL v2.0+
|
||||
# Copyright (c) 2006 nixCraft under GNU GPL v2.0+
|
||||
# Last updated on: Apr/06/2010 by Vivek Gite
|
||||
# ----------------------------------------------------------------------------
|
||||
# + Modified for megaglest deployment - Softcoder
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue