[cogl] kms: avoid using redundant g* and GL* types
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] kms: avoid using redundant g* and GL* types
- Date: Mon, 28 Nov 2011 23:21:16 +0000 (UTC)
commit 40b14c60846e4e898d6e6e4e4b6dcb19e477c248
Author: Robert Bragg <robert linux intel com>
Date: Mon Nov 28 22:43:15 2011 +0000
kms: avoid using redundant g* and GL* types
A small, pedantic change to remove the use of redundant gint and GLuint
types instead of int and unsigned int.
Reviewed-by: Neil Roberts <neil linux intel com>
cogl/winsys/cogl-winsys-kms.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/cogl/winsys/cogl-winsys-kms.h b/cogl/winsys/cogl-winsys-kms.h
index 519f8a1..bda0d40 100644
--- a/cogl/winsys/cogl-winsys-kms.h
+++ b/cogl/winsys/cogl-winsys-kms.h
@@ -49,7 +49,7 @@ typedef struct _CoglDisplayKMS
drmModeEncoder *encoder;
drmModeModeInfo mode;
drmModeCrtcPtr saved_crtc;
- gint width, height;
+ int width, height;
} CoglDisplayKMS;
typedef struct _CoglOnscreenKMS
@@ -58,9 +58,9 @@ typedef struct _CoglOnscreenKMS
uint32_t fb_id[2];
struct gbm_bo *bo[2];
- GLuint fb, color_rb[2], depth_rb;
+ unsigned int fb, color_rb[2], depth_rb;
EGLImageKHR image[2];
- gint current_frame;
+ int current_frame;
} CoglOnscreenKMS;
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]