mirror of
https://github.com/brl/mutter.git
synced 2025-01-14 13:43:08 +00:00
test-cogl-shader-glsl: Disable the atlas for the hand texture
Atlasing needs to be disabled for the hand texture so that it can work out the step value needed to fetch a neighbouring pixel in the blur shader. If the texture ends up in the atlas then the test can't know the actual size of the texture so it looks wrong.
This commit is contained in:
parent
3c9f72abbf
commit
5fc3122dad
@ -328,7 +328,9 @@ test_cogl_shader_glsl_main (int argc, char *argv[])
|
||||
|
||||
file = g_build_filename (TESTS_DATADIR, "redhand.png", NULL);
|
||||
error = NULL;
|
||||
redhand = cogl_texture_new_from_file (file, 0, COGL_PIXEL_FORMAT_ANY,
|
||||
redhand = cogl_texture_new_from_file (file,
|
||||
COGL_TEXTURE_NO_ATLAS,
|
||||
COGL_PIXEL_FORMAT_ANY,
|
||||
&error);
|
||||
if (redhand == COGL_INVALID_HANDLE)
|
||||
g_error ("image load failed: %s", error->message);
|
||||
|
Loading…
Reference in New Issue
Block a user