[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49735] branches/soc-2012-swiss_cheese/ source/gameengine/Ketsji/KX_Dome.cpp: Use gpu extensions check instead of gew one.
Alexander Kuznetsov
kuzsasha at gmail.com
Thu Aug 9 18:38:03 CEST 2012
Revision: 49735
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49735
Author: alexk
Date: 2012-08-09 16:38:02 +0000 (Thu, 09 Aug 2012)
Log Message:
-----------
Use gpu extensions check instead of gew one.
Modified Paths:
--------------
branches/soc-2012-swiss_cheese/source/gameengine/Ketsji/KX_Dome.cpp
Modified: branches/soc-2012-swiss_cheese/source/gameengine/Ketsji/KX_Dome.cpp
===================================================================
--- branches/soc-2012-swiss_cheese/source/gameengine/Ketsji/KX_Dome.cpp 2012-08-09 15:59:32 UTC (rev 49734)
+++ branches/soc-2012-swiss_cheese/source/gameengine/Ketsji/KX_Dome.cpp 2012-08-09 16:38:02 UTC (rev 49735)
@@ -40,6 +40,7 @@
#include "BLI_math.h"
#include "GPU_compatibility.h"
+#include "GPU_extensions.h"
#include "GPU_colors.h"
// constructor
@@ -253,7 +254,7 @@
bool KX_Dome::CreateFBO(void)
{
- if (!GLEW_EXT_framebuffer_object)
+ if (!GPU_EXT_FRAMEBUFFERS)
{
printf("Dome Error: FrameBuffer unsupported. Using low resolution warp image.");
return false;
More information about the Bf-blender-cvs
mailing list