[gtk+/wip/baedert/gl: 4/39] 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: 4/39] gl driver: Make some members const
- Date: Fri, 24 Nov 2017 11:48:24 +0000 (UTC)
commit 116080160f4f1206fde4b9d5aa92edd2d8b5444f
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]