parent
fbd32a12da
commit
d742dd7745
|
@ -312,6 +312,7 @@ void GPU_Reset(GPU *g, u8 l)
|
||||||
delete osd;
|
delete osd;
|
||||||
osd = new OSDCLASS(-1);
|
osd = new OSDCLASS(-1);
|
||||||
//DISP_FIFOclear(&g->disp_fifo);
|
//DISP_FIFOclear(&g->disp_fifo);
|
||||||
|
memset(GPU_screen, 0, sizeof(GPU_screen));
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPU_DeInit(GPU * gpu)
|
void GPU_DeInit(GPU * gpu)
|
||||||
|
|
|
@ -492,7 +492,9 @@ static void OGLReset()
|
||||||
//clear the framebuffers
|
//clear the framebuffers
|
||||||
// memset(GPU_screenStencil,0,sizeof(GPU_screenStencil));
|
// memset(GPU_screenStencil,0,sizeof(GPU_screenStencil));
|
||||||
memset(GPU_screen3D,0,sizeof(GPU_screen3D));
|
memset(GPU_screen3D,0,sizeof(GPU_screen3D));
|
||||||
|
needRefreshFramebuffer = false;
|
||||||
|
memset(texMAP, 0, sizeof(texMAP));
|
||||||
|
textureMode=TEXMODE_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char OGLInit(void)
|
static char OGLInit(void)
|
||||||
|
|
|
@ -2001,13 +2001,13 @@ SFORMAT SF_GFX3D[]={
|
||||||
{ "GMTM", 4,16, mtxTemporal},
|
{ "GMTM", 4,16, mtxTemporal},
|
||||||
{ "GMCU", 4,64, mtxCurrent},
|
{ "GMCU", 4,64, mtxCurrent},
|
||||||
{ "GM0P", 4, 1, &mtxStack[0].position},
|
{ "GM0P", 4, 1, &mtxStack[0].position},
|
||||||
{ "GM1M", 4,16, mtxStack[0].matrix},
|
{ "GM1M", 4,16, &mtxStack[0].matrix},
|
||||||
{ "GM1P", 4, 1, &mtxStack[1].position},
|
{ "GM1P", 4, 1, &mtxStack[1].position},
|
||||||
{ "GM1M", 4,496,mtxStack[1].matrix},
|
{ "GM1M", 4,496,&mtxStack[1].matrix},
|
||||||
{ "GM2P", 4, 1, &mtxStack[2].position},
|
{ "GM2P", 4, 1, &mtxStack[2].position},
|
||||||
{ "GM2M", 4,496,mtxStack[2].matrix},
|
{ "GM2M", 4,496,&mtxStack[2].matrix},
|
||||||
{ "GM3P", 4, 1, &mtxStack[3].position},
|
{ "GM3P", 4, 1, &mtxStack[3].position},
|
||||||
{ "GM3M", 4,16, mtxStack[3].matrix},
|
{ "GM3M", 4,16, &mtxStack[3].matrix},
|
||||||
{ "ML4I", 1, 1, &ML4x4ind},
|
{ "ML4I", 1, 1, &ML4x4ind},
|
||||||
{ "ML3I", 1, 1, &ML4x3ind},
|
{ "ML3I", 1, 1, &ML4x3ind},
|
||||||
{ "MM4I", 1, 1, &MM4x4ind},
|
{ "MM4I", 1, 1, &MM4x4ind},
|
||||||
|
|
Loading…
Reference in New Issue