mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 06:41:04 +00:00
Firin ma lazer
This commit is contained in:
parent
126dfa073b
commit
24336171f1
@ -140,7 +140,7 @@ namespace OGL
|
|||||||
glBindBuffer(GL_UNIFORM_BUFFER, UBOBuffers[Buffer]);
|
glBindBuffer(GL_UNIFORM_BUFFER, UBOBuffers[Buffer]);
|
||||||
// glBufferSubData expects data in bytes, so multiply count by four
|
// glBufferSubData expects data in bytes, so multiply count by four
|
||||||
// Expects the offset in bytes as well, so multiply by *4 *4 since we are passing in a vec4 location
|
// Expects the offset in bytes as well, so multiply by *4 *4 since we are passing in a vec4 location
|
||||||
glBufferSubData(GL_UNIFORM_BUFFER_EXT, offset * 4 * 4, count * 4 * 4, f);
|
glBufferSubData(GL_UNIFORM_BUFFER, offset * 4 * 4, count * 4 * 4, f);
|
||||||
glBindBuffer(GL_UNIFORM_BUFFER, 0);
|
glBindBuffer(GL_UNIFORM_BUFFER, 0);
|
||||||
}
|
}
|
||||||
GLuint ProgramShaderCache::GetCurrentProgram(void) { return CurrentProgram; }
|
GLuint ProgramShaderCache::GetCurrentProgram(void) { return CurrentProgram; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user