Removed GL calls in texfont.

This commit is contained in:
Leonardo Zide
2021-11-21 12:16:19 -08:00
parent 36dbcec238
commit a9ab7c0c64
11 changed files with 53 additions and 49 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ void lcViewSphere::Draw()
Context->DrawIndexedPrimitives(GL_TRIANGLES, mSubdivisions * mSubdivisions * 6 * 6, GL_UNSIGNED_SHORT, 0);
Context->SetMaterial(lcMaterialType::UnlitViewSphere);
Context->BindTextureCubeMap(mTexture->mTexture);
Context->BindTextureCubeMap(mTexture);
Context->SetWorldMatrix(lcMatrix44Identity());
Context->SetViewMatrix(GetViewMatrix());