Changeset 26076

Show
Ignore:
Timestamp:
2006-12-13 01:53:30 (4 years ago)
Author:
res2002
Message:

res fixed the gl3d texture manager to upload Blit()ted data with the

right target format.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • CS/trunk/plugins/video/render3d/opengl/gl_txtmgr.cpp

    r26075 r26076  
    463463      } 
    464464 
    465       glTexImage2D (textarget, 0, textureFormat, actual_width,  
     465      glTexImage2D (textarget, 0, GL_RGBA8, actual_width,  
    466466        actual_height, 0, textureFormat, GL_UNSIGNED_BYTE, pixels); 
    467467      delete[] pixels;