Skip to content

Commit

Permalink
update gl_studio.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Feb 23, 2024
1 parent 48000d0 commit 5669444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/Renderer/gl_studio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ void R_StudioDrawVBOBegin(studio_vbo_t* VBOData)

memcpy(StudioUBO.bonematrix, (*pbonetransform), sizeof(mat3x4) * 128);

GL_UploadSubDataToUBO(r_wsurf.hSceneUBO, 0, sizeof(StudioUBO), &StudioUBO);
GL_UploadSubDataToUBO(VBOData->hStudioUBO, 0, sizeof(StudioUBO), &StudioUBO);

glBindBufferBase(GL_UNIFORM_BUFFER, BINDING_POINT_STUDIO_UBO, VBOData->hStudioUBO);

Expand Down

0 comments on commit 5669444

Please sign in to comment.