mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 17:05:38 +00:00
app/headless,internal/rendertest: relax tests
The Mesa software OpenGL implementation strays enough from the reference values that tests fail. Relax the tests to make them pass again. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -107,7 +107,7 @@ func TestFramebuffers(t *testing.T) {
|
||||
fbo1 := newFBO(t, b, sz)
|
||||
fbo2 := newFBO(t, b, sz)
|
||||
var (
|
||||
col1 = color.NRGBA{R: 0xad, G: 0xbe, B: 0xef, A: 0xde}
|
||||
col1 = color.NRGBA{R: 0xac, G: 0xbe, B: 0xef, A: 0xde}
|
||||
col2 = color.NRGBA{R: 0xfe, G: 0xba, B: 0xbe, A: 0xca}
|
||||
)
|
||||
fcol1, fcol2 := f32color.LinearFromSRGB(col1), f32color.LinearFromSRGB(col2)
|
||||
|
||||
Reference in New Issue
Block a user