3DS - Fix more corruption

I swear I'm normally a good programmer ;_;
This commit is contained in:
Clownacy 2020-10-13 20:59:20 +01:00
parent b6ff494f54
commit a82189b0c9

View file

@ -68,13 +68,13 @@ static void EnableAlpha(bool enabled)
C3D_FrameEnd(0);
frame_started = false;
previous_setting = enabled;
}
if (enabled)
C3D_AlphaBlend(GPU_BLEND_ADD, GPU_BLEND_ADD, GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA, GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA);
else
C3D_AlphaBlend(GPU_BLEND_ADD, GPU_BLEND_ADD, GPU_ONE, GPU_ZERO, GPU_ONE, GPU_ZERO);
previous_setting = enabled;
}
}
RenderBackend_Surface* RenderBackend_Init(const char *window_title, size_t screen_width, size_t screen_height, bool fullscreen)