Showing the changes to libraries/render-utils/src/TextRenderer3D.cpp (1 of 15 files). Show all
Unified · Split
| @@ -423,7 +423,7 @@ void Font3D::drawString(gpu::Batch& batch, float x, float y, const QString& str, · 422 unmodified lines | |||
| 423 | 423 | ||
| 424 | setupGPU(); | 424 | setupGPU(); |
| 425 | batch.setPipeline(_pipeline); | 425 | batch.setPipeline(_pipeline); |
| 426 | batch.setUniformTexture(_fontLoc, _texture); | 426 | batch.setResourceTexture(_fontLoc, _texture); |
| 427 | batch._glUniform1i(_outlineLoc, (effectType == TextRenderer3D::OUTLINE_EFFECT)); | 427 | batch._glUniform1i(_outlineLoc, (effectType == TextRenderer3D::OUTLINE_EFFECT)); |
| 428 | batch._glUniform4fv(_colorLoc, 1, (const GLfloat*)color); | 428 | batch._glUniform4fv(_colorLoc, 1, (const GLfloat*)color); |
| 429 | 429 | ||