mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
add assert to make sure all shaders were compiled
This commit is contained in:
@ -591,6 +591,7 @@ struct Variant
|
|||||||
|
|
||||||
void ComputeRenderer::RenderFrame(GPU& gpu)
|
void ComputeRenderer::RenderFrame(GPU& gpu)
|
||||||
{
|
{
|
||||||
|
assert(!NeedsShaderCompile());
|
||||||
if (!Texcache.Update(gpu) && gpu.GPU3D.RenderFrameIdentical)
|
if (!Texcache.Update(gpu) && gpu.GPU3D.RenderFrameIdentical)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user