seed r761 - trunk/examples/clutter-shader



Author: racarr
Date: Sun Jan 18 20:22:08 2009
New Revision: 761
URL: http://svn.gnome.org/viewvc/seed?rev=761&view=rev

Log:
Update  clutter shader example to make it run again

Modified:
   trunk/examples/clutter-shader/main.js

Modified: trunk/examples/clutter-shader/main.js
==============================================================================
--- trunk/examples/clutter-shader/main.js	(original)
+++ trunk/examples/clutter-shader/main.js	Sun Jan 18 20:22:08 2009
@@ -18,7 +18,7 @@
 var shaderfield = new ShaderView("fragment_source", texture,reflection);
 var vbox = new Gtk.VBox();
 var notebook = new Gtk.Notebook();
-var c = Clutter.Color._new();
+var c = new Clutter.Color();
 Clutter.color_parse("Black",c);
 
 notebook.append_page(shaderfield.hbox, new Gtk.Label({label:"Fragment"}));



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