Fix compiler warning
Return a boolean value, not NULL.
This commit is contained in:
parent
5253264f2f
commit
b21de497d1
@ -810,7 +810,7 @@ _cogl_offscreen_gl_allocate (CoglOffscreen *offscreen,
|
|||||||
|
|
||||||
_COGL_RETURN_VAL_IF_FAIL (offscreen->texture_level <
|
_COGL_RETURN_VAL_IF_FAIL (offscreen->texture_level <
|
||||||
_cogl_texture_get_n_levels (offscreen->texture),
|
_cogl_texture_get_n_levels (offscreen->texture),
|
||||||
NULL);
|
FALSE);
|
||||||
|
|
||||||
_cogl_texture_get_level_size (offscreen->texture,
|
_cogl_texture_get_level_size (offscreen->texture,
|
||||||
offscreen->texture_level,
|
offscreen->texture_level,
|
||||||
|
Loading…
Reference in New Issue
Block a user