mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
unbind sampler object in compute shader renderer
This commit is contained in:
parent
a631a33239
commit
8b1722b67a
@ -956,6 +956,8 @@ void ComputeRenderer::RenderFrame()
|
||||
glDispatchCompute(ScreenWidth/32, ScreenHeight, 1);
|
||||
glMemoryBarrier(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT);
|
||||
|
||||
glBindSampler(0, 0);
|
||||
|
||||
/*u64 starttime = armGetSystemTick();
|
||||
EmuQueue.waitIdle();
|
||||
printf("total time %f\n", armTicksToNs(armGetSystemTick()-starttime)*0.000001f);*/
|
||||
|
Loading…
Reference in New Issue
Block a user