Let mouse.png's format be detected

Fixes the mouse cursor on Mac OS X
dev-ui
Didier Raboud 2013-10-28 15:25:14 +01:00
parent 9e439d88bf
commit c2a717d5c9
1 changed files with 1 additions and 1 deletions
src/graphics/engine

View File

@ -276,7 +276,7 @@ bool CEngine::Create()
Math::LoadOrthoProjectionMatrix(m_matProjInterface, 0.0f, 1.0f, 0.0f, 1.0f, -1.0f, 1.0f);
TextureCreateParams params;
params.format = TEX_IMG_RGB;
params.format = TEX_IMG_AUTO;
params.minFilter = TEX_MIN_FILTER_NEAREST;
params.magFilter = TEX_MAG_FILTER_NEAREST;
params.mipmap = false;