Commit b7fc3cb7 authored by Rico Tzschichholz's avatar Rico Tzschichholz

cogl-1.0: Fix out-params in Cogl.get_modelview_matrix/projection_matrix/bitmasks

Fixes #794
parent 7050633d
......@@ -704,13 +704,13 @@ namespace Cogl {
[CCode (cheader_filename = "cogl/cogl.h")]
public static bool get_backface_culling_enabled ();
[CCode (cheader_filename = "cogl/cogl.h")]
public static void get_bitmasks (int red, int green, int blue, int alpha);
public static void get_bitmasks (out int red, out int green, out int blue, out int alpha);
[CCode (cheader_filename = "cogl/cogl.h")]
public static bool get_depth_test_enabled ();
[CCode (cheader_filename = "cogl/cogl.h")]
public static Cogl.FeatureFlags get_features ();
[CCode (cheader_filename = "cogl/cogl.h")]
public static void get_modelview_matrix (Cogl.Matrix matrix);
public static void get_modelview_matrix (out Cogl.Matrix matrix);
[CCode (cheader_filename = "cogl/cogl.h")]
public static GLib.OptionGroup get_option_group ();
[CCode (cheader_filename = "cogl/cogl.h")]
......@@ -718,7 +718,7 @@ namespace Cogl {
[CCode (cheader_filename = "cogl/cogl.h")]
public static unowned Cogl.FuncPtr get_proc_address (string name);
[CCode (cheader_filename = "cogl/cogl.h")]
public static void get_projection_matrix (Cogl.Matrix matrix);
public static void get_projection_matrix (out Cogl.Matrix matrix);
[CCode (cheader_filename = "cogl/cogl.h")]
public static void get_viewport ([CCode (array_length = false)] float[] v);
[CCode (cheader_filename = "cogl/cogl.h")]
......
......@@ -48,6 +48,10 @@ cogl_matrix_init_from_array hidden="1"
cogl_matrix_init_identity hidden="1"
cogl_matrix_transform_point.* is_ref="1"
cogl_get_modelview_matrix.matrix is_out="1"
cogl_get_projection_matrix.matrix is_out="1"
cogl_get_bitmasks.* is_out="1"
CoglPango* cheader_filename="cogl-pango/cogl-pango.h"
cogl_pango_ensure_glyph_cache_for_layout cheader_filename="cogl-pango/cogl-pango.h"
cogl_pango_render_* cheader_filename="cogl-pango/cogl-pango.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment