diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-01-04 20:43:30 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-01-04 20:43:30 +0000 |
commit | d7ccd950d332a04596bd0ac498c40e8cc6261ea2 (patch) | |
tree | 5fce5fab9667b9e7467da223e5169a832cd18d44 | |
parent | 3f04f173612913d86b10a6b19704c7d5805ee31e (diff) | |
download | cogl-d7ccd950d332a04596bd0ac498c40e8cc6261ea2.tar.gz |
cogl-sharp: Sync with the latest updates
The layer matrix has been removed from 2.0 and a couple of parameters
have been renamed.
-rw-r--r-- | 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 b2271bf8..4c84432a 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")] |