Skip to content

Commit b4afb3d

Browse files
committed
TextRenderer2D: incorrect attribute for accessing color attachments
1 parent 6da3176 commit b4afb3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demosys/effects/text/effects/renderer_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self, area, text_lines=None, texture_height=64):
3232

3333
@property
3434
def texture(self):
35-
return self._fbo.color_buffers[0]
35+
return self._fbo.color_attachments[0]
3636

3737
def render(self):
3838
self._fbo.clear()

0 commit comments

Comments
 (0)