graphics: Fix a comment

This commit is contained in:
Hajime Hoshi 2016-06-28 03:05:47 +09:00
parent 3004d4d7af
commit 9453f9e7b5

View File

@ -137,9 +137,8 @@ func (c *replacePixelsCommand) Exec(context *opengl.Context) error {
return err return err
} }
// Filling with non black or white color is required here for glTexSubImage2D. // Filling with non black or white color is required here for glTexSubImage2D.
// Very mysterious but this actually works (Issue #186) // Very mysterious but this actually works (Issue #186).
// TODO: As shader bug was fixed at f537378f2a6a8ef56e1acf1c03034967b77c7b51, // This is needed even after fixing a shader bug at f537378f2a6a8ef56e1acf1c03034967b77c7b51.
// can we remove this?
if err := context.FillFramebuffer(0, 0, 0.5, 1); err != nil { if err := context.FillFramebuffer(0, 0, 0.5, 1); err != nil {
return err return err
} }