re-add mipmapping, support it in OpenGL (D3D unimplemented)
This commit is contained in:
@@ -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) );
|
||||
|
||||
Reference in New Issue
Block a user