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:
Neil Roberts 2012-10-03 12:03:18 +01:00 committed by Robert Bragg
parent 2582fa1519
commit 8039c2c779

View File

@ -37,6 +37,7 @@
#include "cogl-context-private.h"
#include "cogl-onscreen-private.h"
#include "cogl-winsys-sdl-private.h"
#include "cogl-error-private.h"
typedef struct _CoglContextSdl2
{