[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49958] branches/soc-2012-swiss_cheese/ source/blender/gpu/intern/gpu_view_gl.c: Forgot in last commit
Alexander Kuznetsov
kuzsasha at gmail.com
Fri Aug 17 19:04:02 CEST 2012
Revision: 49958
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49958
Author: alexk
Date: 2012-08-17 17:04:02 +0000 (Fri, 17 Aug 2012)
Log Message:
-----------
Forgot in last commit
Modified Paths:
--------------
branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_view_gl.c
Modified: branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_view_gl.c
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_view_gl.c 2012-08-17 17:02:24 UTC (rev 49957)
+++ branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_view_gl.c 2012-08-17 17:04:02 UTC (rev 49958)
@@ -56,7 +56,13 @@
}
+void gpuGetClearColor_gl(float r[4])
+{
+ glGetFloatv(GL_COLOR_CLEAR_VALUE, r);
+}
+
+
void gpuViewport_gl(int x, int y, unsigned int width, unsigned int height)
{
glViewport(x, y, width, height);
More information about the Bf-blender-cvs
mailing list