mirror of https://github.com/bjornbytes/lovr.git
Put back apple instancing fix;
This commit is contained in:
parent
73b50c22cd
commit
d1923ce711
|
@ -791,6 +791,10 @@ void lovrGpuDraw(DrawCommand* command) {
|
|||
|
||||
void lovrGpuPresent() {
|
||||
memset(&state.stats, 0, sizeof(state.stats));
|
||||
#ifdef __APPLE__
|
||||
// For some reason instancing doesn't work on macOS unless you reset the shader every frame
|
||||
lovrGpuUseProgram(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
GraphicsLimits lovrGraphicsGetLimits() {
|
||||
|
|
Loading…
Reference in New Issue