[cogl/wip/virtual-framebuffer: 29/37] fix: cogl-matrix-stack: remove flush avoidance checks
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/virtual-framebuffer: 29/37] fix: cogl-matrix-stack: remove flush avoidance checks
- Date: Wed, 23 Nov 2011 17:01:10 +0000 (UTC)
commit 6afa7ba9676e052974c191cb864103e177d83a43
Author: Robert Bragg <robert linux intel com>
Date: Tue Nov 22 21:32:25 2011 +0000
fix: cogl-matrix-stack: remove flush avoidance checks
cogl/cogl-matrix-stack.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-matrix-stack.c b/cogl/cogl-matrix-stack.c
index aa83ee0..a6e30dd 100644
--- a/cogl/cogl-matrix-stack.c
+++ b/cogl/cogl-matrix-stack.c
@@ -415,8 +415,6 @@ _cogl_matrix_stack_flush_to_gl (CoglContext *context,
CoglMatrixStack *stack,
CoglMatrixMode mode)
{
- CoglMatrixState *state = _cogl_matrix_stack_top (stack);
-
if (context->driver == COGL_DRIVER_GLES2)
{
/* Under GLES2 we need to flush the matrices differently because
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]