Skip to content

Commit e2e28e6

Browse files
committed
[orx-text-on-contour] Fix texture binding
1 parent c26b65c commit e2e28e6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

orx-text-on-contour/src/commonMain/kotlin/TextOnContour.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ private class OnContourImageMapDrawer {
113113
vertices.shadow.uploadElements(0, quadCount * 6)
114114
val shader = shaderManager.shader(drawStyle.shadeStyle, vertices.vertexFormat)
115115
shader.begin()
116+
shader.textureBindings[0] = (drawStyle.fontMap as FontImageMap).texture
116117
context.applyToShader(shader)
117118

118119
Driver.instance.setState(drawStyle)

0 commit comments

Comments
 (0)