check fb valid
This commit is contained in:
@@ -408,7 +408,7 @@ void NodeStrokePreview::draw_stroke_immediate()
|
||||
b->m_pattern_texture->bind() :
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
glActiveTexture(GL_TEXTURE3);
|
||||
m_rtt_mixer.bindTexture();
|
||||
b->m_tip_mix > 0.f ? m_rtt_mixer.bindTexture() : glBindTexture(GL_TEXTURE_2D, 0);
|
||||
auto frames = stroke_draw_compute(m_stroke, zoom);
|
||||
m_rtt.clear();
|
||||
for (auto& f : frames)
|
||||
|
||||
Reference in New Issue
Block a user