- fixed shadow mapping by removing the use of the extension: GL_ARB_shadow_ambient

(thanks: asmodeus and Ishmaru)
- added some initial work for texture compression (but not active yet)
This commit is contained in:
Mark Vejvoda
2010-10-27 15:04:47 +00:00
parent 3db2b07e90
commit 78f6f49cb6
5 changed files with 101 additions and 21 deletions

View File

@@ -22,12 +22,14 @@ namespace Shared{ namespace Graphics{ namespace Gl{
// class TextureGl
// =====================================================
class TextureGl{
class TextureGl {
protected:
GLuint handle;
public:
GLuint getHandle() const {return handle;}
void OutputTextureDebugInfo(const Pixmap2D *pixmap,Texture::Format format, int components, const string path);
};
// =====================================================