}
void
-_cogl_destroy_context ()
+_cogl_destroy_context (void)
{
if (_context == NULL)
}
CoglContext *
-_cogl_context_get_default ()
+_cogl_context_get_default (void)
{
/* Create if doesn't exist yet */
if (_context == NULL)
typedef void (*PaintFunc) (void);
static void
-test_paint_line ()
+test_paint_line (void)
{
cogl_path_line (-50, -25, 50, 25);
}
static void
-test_paint_rect ()
+test_paint_rect (void)
{
cogl_path_rectangle (-50, -25, 50, 25);
}
static void
-test_paint_rndrect()
+test_paint_rndrect(void)
{
cogl_path_round_rectangle (-50, -25, 50, 25, 10, 5);
}
static void
-test_paint_polyl ()
+test_paint_polyl (void)
{
gfloat poly_coords[] = {
-50, -50,
}
static void
-test_paint_polyg ()
+test_paint_polyg (void)
{
gfloat poly_coords[] = {
-50, -50,
}
static void
-test_paint_elp ()
+test_paint_elp (void)
{
cogl_path_ellipse (0, 0, 60, 40);
}
static void
-test_paint_curve ()
+test_paint_curve (void)
{
cogl_path_move_to (-50, +50);