This commit is contained in:
wheremyfoodat 2024-02-28 17:53:22 +02:00 committed by GitHub
parent 43dfda0f19
commit fffa1f508c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -130,6 +130,7 @@ static std::array<PICA::Vertex, Renderer::vertexBufferSize> vertices;
template <bool indexed, bool useShaderJIT>
void GPU::drawArrays() {
return;
if constexpr (useShaderJIT) {
shaderJIT.prepare(shaderUnit.vs);
}