Permalink
Browse files

glPaletteTexture = 0 in copy constructor

  • Loading branch information...
1 parent d8b4a87 commit 2c2aa373705edcb016137b449ed11b8d640b1fb5 @BehoIder BehoIder committed with lynxlynxlynx Jan 10, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 gemrb/plugins/SDLVideo/GLTextureSprite2D.cpp
@@ -47,6 +47,7 @@ GLTextureSprite2D::GLTextureSprite2D(const GLTextureSprite2D &obj) : Sprite2D(ob
// copies only 8 bit sprites
glTexture = 0;
glMaskTexture = 0;
+ glPaletteTexture = 0;
currentPalette = NULL;
colorKeyIndex = obj.colorKeyIndex;
rMask = obj.rMask;

0 comments on commit 2c2aa37

Please sign in to comment.