mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
small commit to try to fix issue 1509
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5460 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
866e127510
commit
3ff6a8bd68
2 changed files with 6 additions and 8 deletions
|
@ -403,6 +403,7 @@ TextureMngr::TCacheEntry* TextureMngr::Load(int texstage, u32 address, int width
|
|||
int gl_format = 0;
|
||||
int gl_iformat = 0;
|
||||
int gl_type = 0;
|
||||
GL_REPORT_ERRORD();
|
||||
if (dfmt != PC_TEX_FMT_DXT1)
|
||||
{
|
||||
switch (dfmt)
|
||||
|
@ -490,6 +491,7 @@ TextureMngr::TCacheEntry* TextureMngr::Load(int texstage, u32 address, int width
|
|||
width, height, 0, expandedWidth*expandedHeight/2, temp);
|
||||
}
|
||||
}
|
||||
GL_REPORT_ERRORD();
|
||||
if(TexLevels > 1 && dfmt != PC_TEX_FMT_NONE)
|
||||
{
|
||||
int level = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue