Graphics backend enhancements etc. (#163)

This commit is contained in:
Emill
2022-04-18 11:37:47 +02:00
committed by GitHub
parent fe6dbd2a5b
commit ceef4a9453
21 changed files with 872 additions and 588 deletions

View File

@@ -226,6 +226,9 @@ u16 Environment_GetPixelDepth(s32 x, s32 y) {
void Environment_GraphCallback(GraphicsContext* gfxCtx, void* param) {
GlobalContext* globalCtx = (GlobalContext*)param;
OTRGetPixelDepthPrepare(D_8015FD7E, D_8015FD80);
Lights_GlowCheckPrepare(globalCtx);
D_8011FB44 = Environment_GetPixelDepth(D_8015FD7E, D_8015FD80);
Lights_GlowCheck(globalCtx);
}