mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
d3afe4308a
The function create_texture() in test-wrap-modes.c takes a TestUtilsTextureFlags. However a CoglTextureFlags is passed instead in two calls. As the enums are identical this patch changes it to use the TestUtils type. The enum definitions: typedef enum { COGL_TEXTURE_NONE = 0, COGL_TEXTURE_NO_AUTO_MIPMAP = 1 << 0, COGL_TEXTURE_NO_SLICING = 1 << 1, COGL_TEXTURE_NO_ATLAS = 1 << 2 } CoglTextureFlags; typedef enum { TEST_UTILS_TEXTURE_NONE = 0, TEST_UTILS_TEXTURE_NO_AUTO_MIPMAP = 1 << 0, TEST_UTILS_TEXTURE_NO_SLICING = 1 << 1, TEST_UTILS_TEXTURE_NO_ATLAS = 1 << 2 } TestUtilsTextureFlags; https://gitlab.gnome.org/GNOME/mutter/merge_requests/938 |
||
---|---|---|
.. | ||
cogl | ||
cogl-pango | ||
cogl-path | ||
test-fixtures | ||
tests | ||
.gitignore | ||
cogl-config.h.meson | ||
cogl-mutter-config.h.in | ||
config-custom.h | ||
meson.build |