[gtk+/wip/baedert/gl: 5/23] 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: 5/23] gl driver: Make some members const
- Date: Sun, 19 Nov 2017 12:18:34 +0000 (UTC)
commit da88d1f91fc17b608ba77c156b00c6d9b4debbc5
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]