Commit 6d0db666 authored by Francois Bertel's avatar Francois Bertel

COMP:Fixed some int into GLint. The Mac is really picky regarding GL types.

parent 8ca3ce4f
......@@ -38,7 +38,7 @@
#include "vtkPixelBufferObject.h"
#include "vtkImageExtractComponents.h"
vtkCxxRevisionMacro(vtkGaussianBlurPass, "1.1");
vtkCxxRevisionMacro(vtkGaussianBlurPass, "1.2");
vtkStandardNewMacro(vtkGaussianBlurPass);
vtkCxxSetObjectMacro(vtkGaussianBlurPass,DelegatePass,vtkRenderPass);
......@@ -109,7 +109,7 @@ void vtkGaussianBlurPass::Render(const vtkRenderState *s)
if(this->DelegatePass!=0)
{
int savedDrawBuffer;
GLint savedDrawBuffer;
glGetIntegerv(GL_DRAW_BUFFER,&savedDrawBuffer);
// 1. Create a new render state with an FBO.
......
......@@ -38,7 +38,7 @@
#include "vtkPixelBufferObject.h"
#include "vtkImageExtractComponents.h"
vtkCxxRevisionMacro(vtkSobelGradientMagnitudePass, "1.1");
vtkCxxRevisionMacro(vtkSobelGradientMagnitudePass, "1.2");
vtkStandardNewMacro(vtkSobelGradientMagnitudePass);
vtkCxxSetObjectMacro(vtkSobelGradientMagnitudePass,DelegatePass,vtkRenderPass);
......@@ -120,7 +120,7 @@ void vtkSobelGradientMagnitudePass::Render(const vtkRenderState *s)
if(this->DelegatePass!=0)
{
int savedDrawBuffer;
GLint savedDrawBuffer;
glGetIntegerv(GL_DRAW_BUFFER,&savedDrawBuffer);
// 1. Create a new render state with an FBO.
......
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