1
0
Fork 0
mirror of https://github.com/melonDS-emu/melonDS.git synced 2025-03-06 21:00:31 +01:00

add assert to make sure all shaders were compiled

This commit is contained in:
RSDuck 2024-05-14 04:09:20 +02:00
parent 5df83c97c7
commit 442661747e

View file

@ -591,6 +591,7 @@ struct Variant
void ComputeRenderer::RenderFrame(GPU& gpu)
{
assert(!NeedsShaderCompile());
if (!Texcache.Update(gpu) && gpu.GPU3D.RenderFrameIdentical)
{
return;