[gtk+/wip/baedert/gl: 126/216] gl driver: Make some members const
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gl: 126/216] gl driver: Make some members const
- Date: Mon, 18 Dec 2017 20:55:45 +0000 (UTC)
commit 5bc2cfc1db43f8d09b502f02ed85cb6636c1839e
Author: Timm Bäder <mail baedert org>
Date: Thu Nov 9 10:55:14 2017 +0100
gl driver: Make some members const
gsk/gskgldriver.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gsk/gskgldriver.c b/gsk/gskgldriver.c
index 41c6f6c..dbc3977 100644
--- a/gsk/gskgldriver.c
+++ b/gsk/gskgldriver.c
@@ -45,10 +45,10 @@ struct _GskGLDriver
GHashTable *textures;
GHashTable *vaos;
- Texture *bound_source_texture;
- Texture *bound_mask_texture;
- Vao *bound_vao;
- Fbo *bound_fbo;
+ const Texture *bound_source_texture;
+ const Texture *bound_mask_texture;
+ const Vao *bound_vao;
+ const Fbo *bound_fbo;
int max_texture_size;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]