summaryrefslogtreecommitdiff
path: root/cogl/cogl-context-private.h
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2012-03-07 11:32:13 +0000
committerNeil Roberts <neil@linux.intel.com>2012-03-07 15:13:29 +0000
commitb8df3561f4602a99b33243f2db6ff24c9629d8b9 (patch)
tree5bfd3abf419326dfe4731b2c6b650793322256e3 /cogl/cogl-context-private.h
parentc0d7839c55aaf010b3f76b1e6af0645029f17a07 (diff)
downloadcogl-b8df3561f4602a99b33243f2db6ff24c9629d8b9.tar.gz
Remove the point size cache on the context
I don't think there's really any point in this cache because the pipeline code completely owns the point size state. Pipelines are already compared for whether their point size state is different before setting it so it shouldn't result in any extra calls to glPointSize apart from maybe when the first pipeline is initially flushed. Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl-context-private.h')
-rw-r--r--cogl/cogl-context-private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cogl/cogl-context-private.h b/cogl/cogl-context-private.h
index 522f5d4c..6d92faf3 100644
--- a/cogl/cogl-context-private.h
+++ b/cogl/cogl-context-private.h
@@ -158,8 +158,6 @@ struct _CoglContext
gboolean legacy_depth_test_enabled;
- float point_size_cache;
-
CoglBuffer *current_buffer[COGL_BUFFER_BIND_TARGET_COUNT];
/* Framebuffers */