diff options
author | Neil Roberts <neil@linux.intel.com> | 2010-03-22 09:32:17 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2010-07-08 16:34:30 +0100 |
commit | 06b58baa10247eacf7a702a5da30ee811069d19a (patch) | |
tree | 31988b1b9aec98606b521b1aa7adc71f4ea8c608 /cogl/cogl-context.h | |
parent | dcc8c66fdd88b12cc53ad07fc029068ab8a1187a (diff) | |
download | cogl-06b58baa10247eacf7a702a5da30ee811069d19a.tar.gz |
cogl-material: Add a property for setting the point size
This adds cogl_material_{get,set}_point_size. If the point size is not
1.0f then glPointSize will be called when the material is flushed.
http://bugzilla.openedhand.com/show_bug.cgi?id=2047
Diffstat (limited to 'cogl/cogl-context.h')
-rw-r--r-- | cogl/cogl-context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cogl/cogl-context.h b/cogl/cogl-context.h index 156a3615..1d1d0745 100644 --- a/cogl/cogl-context.h +++ b/cogl/cogl-context.h @@ -119,6 +119,8 @@ typedef struct gboolean legacy_depth_test_enabled; + float point_size_cache; + CoglBuffer *current_buffer[COGL_BUFFER_BIND_TARGET_COUNT]; /* Framebuffers */ |