Fix a warning when building the SDL2 winsys
The SDL2 winsys was using _cogl_set_error without including its header so it was giving an annoying warning. This patch also fixes some indentation issues. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 9c8433087b7573f7606dfae2bae3045803ead115)
This commit is contained in:
parent
2582fa1519
commit
8039c2c779
@ -37,6 +37,7 @@
|
|||||||
#include "cogl-context-private.h"
|
#include "cogl-context-private.h"
|
||||||
#include "cogl-onscreen-private.h"
|
#include "cogl-onscreen-private.h"
|
||||||
#include "cogl-winsys-sdl-private.h"
|
#include "cogl-winsys-sdl-private.h"
|
||||||
|
#include "cogl-error-private.h"
|
||||||
|
|
||||||
typedef struct _CoglContextSdl2
|
typedef struct _CoglContextSdl2
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user