[cogl/wip/cogl-sharp: 48/51] cogl-sharp: Sync with the latest updates



commit d7ccd950d332a04596bd0ac498c40e8cc6261ea2
Author: Damien Lespiau <damien lespiau intel com>
Date:   Fri Jan 4 20:43:30 2013 +0000

    cogl-sharp: Sync with the latest updates
    
    The layer matrix has been removed from 2.0 and a couple of parameters
    have been renamed.

 cogl-sharp/_Pipeline.cs |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/cogl-sharp/_Pipeline.cs b/cogl-sharp/_Pipeline.cs
index b2271bf..4c84432 100644
--- a/cogl-sharp/_Pipeline.cs
+++ b/cogl-sharp/_Pipeline.cs
@@ -217,19 +217,11 @@ namespace Cogl
         }
 
         [DllImport("cogl2.dll")]
-        public static extern void cogl_pipeline_set_layer_matrix(IntPtr o, int layer_index, ref Matrix matrix);
+        public static extern void cogl_pipeline_set_layer_null_texture(IntPtr o, int layer_index, TextureType texture_type);
 
-        public void SetLayerMatrix(int layer_index, ref Matrix matrix)
+        public void SetLayerNullTexture(int layer_index, TextureType texture_type)
         {
-            cogl_pipeline_set_layer_matrix(handle, layer_index, ref matrix);
-        }
-
-        [DllImport("cogl2.dll")]
-        public static extern void cogl_pipeline_set_layer_null_texture(IntPtr o, int layer_index, TextureType texure_type);
-
-        public void SetLayerNullTexture(int layer_index, TextureType texure_type)
-        {
-            cogl_pipeline_set_layer_null_texture(handle, layer_index, texure_type);
+            cogl_pipeline_set_layer_null_texture(handle, layer_index, texture_type);
         }
 
         [DllImport("cogl2.dll")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]