- 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
|
# Use this script to copy shared (libs) files to specified location
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# Written by Vivek Gite <http://www.cyberciti.biz/>
|
# 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
|
# Last updated on: Apr/06/2010 by Vivek Gite
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# + Modified for megaglest deployment - Softcoder
|
# + 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
|
// SDL_Surface *prepGLTexture(SDL_Surface *surface, GLfloat *texCoords = NULL, const bool
|
||||||
// freeSource = false) {
|
// freeSource = false) {
|
||||||
/* Use the surface width and height expanded to powers of 2 */
|
/* Use the surface width and height expanded to powers of 2 */
|
||||||
int w = powerOfTwo(surface->w);
|
//int w = powerOfTwo(surface->w);
|
||||||
int h = powerOfTwo(surface->h);
|
//int h = powerOfTwo(surface->h);
|
||||||
|
int w = surface->w;
|
||||||
|
int h = surface->h;
|
||||||
|
|
||||||
// if (texCoords != 0) {
|
// if (texCoords != 0) {
|
||||||
// texCoords[0] = 0.0f; /* Min
|
// texCoords[0] = 0.0f; /* Min
|
||||||
// X */
|
// X */
|
||||||
|
|
Loading…
Reference in New Issue