fixed occasional gl crash on close and made import context menu item always available
This commit is contained in:
@@ -10,6 +10,7 @@ void CrossDissolveTransition::process_coords(double progress, GLTextureCoords&,
|
||||
if (!(data == TA_CLOSING_TRANSITION && secondary_clip != NULL)) {
|
||||
float color[4];
|
||||
glGetFloatv(GL_CURRENT_COLOR, color);
|
||||
if (data == TA_CLOSING_TRANSITION) progress = 1.0 - progress;
|
||||
glColor4f(1.0, 1.0, 1.0, color[3]*progress);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user