diff --git a/mk/linux/mojosetup/megaglest-installer/makedeps_folder.sh b/mk/linux/mojosetup/megaglest-installer/makedeps_folder.sh index 2eac1b51..56df741c 100755 --- a/mk/linux/mojosetup/megaglest-installer/makedeps_folder.sh +++ b/mk/linux/mojosetup/megaglest-installer/makedeps_folder.sh @@ -3,7 +3,7 @@ set -e # Use this script to copy shared (libs) files to specified location # ---------------------------------------------------------------------------- # Written by Vivek Gite -# (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 diff --git a/source/shared_lib/sources/graphics/texture.cpp b/source/shared_lib/sources/graphics/texture.cpp index ff60726c..1922a744 100644 --- a/source/shared_lib/sources/graphics/texture.cpp +++ b/source/shared_lib/sources/graphics/texture.cpp @@ -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 */