re-add mipmapping, support it in OpenGL (D3D unimplemented)

This commit is contained in:
Chris Danford
2004-01-23 06:20:28 +00:00
parent 9f04fd7cd9
commit b3ff1ef883
14 changed files with 88 additions and 41 deletions
+2 -1
View File
@@ -1053,7 +1053,8 @@ void RageDisplay_D3D::DeleteTexture( unsigned uTexHandle )
unsigned RageDisplay_D3D::CreateTexture(
PixelFormat pixfmt,
SDL_Surface* img )
SDL_Surface* img,
bool bGenerateMipMaps )
{
// texture must be power of two
ASSERT( img->w == power_of_two(img->w) );