mirror of https://github.com/mgba-emu/mgba.git
DS GX: Set default to white
This commit is contained in:
parent
32f63d7d93
commit
830921a14c
|
@ -1020,6 +1020,7 @@ void DSGXReset(struct DSGX* gx) {
|
||||||
gx->activeParams = 0;
|
gx->activeParams = 0;
|
||||||
memset(&gx->currentVertex, 0, sizeof(gx->currentVertex));
|
memset(&gx->currentVertex, 0, sizeof(gx->currentVertex));
|
||||||
memset(&gx->nextPoly, 0, sizeof(gx-> nextPoly));
|
memset(&gx->nextPoly, 0, sizeof(gx-> nextPoly));
|
||||||
|
gx->currentVertex.color = 0x7FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DSGXAssociateRenderer(struct DSGX* gx, struct DSGXRenderer* renderer) {
|
void DSGXAssociateRenderer(struct DSGX* gx, struct DSGXRenderer* renderer) {
|
||||||
|
|
Loading…
Reference in New Issue