An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 6f64b6e3 authored by LYMB Demo's avatar LYMB Demo
Browse files

fixed for pc

parent 87c716bf
......@@ -46,6 +46,12 @@ MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#include "vtkTkRenderWidget.h"
#include "vtkRenderMaster.h"
#ifdef _WIN32
#include "vtkWin32OglrRenderWindow.h"
#else
#include "vtkXRenderWindow.h"
#endif
// This is for creating the render window associated with the widget.
static vtkRenderMaster vtkRenderWidgetMaster;
......@@ -322,7 +328,7 @@ int Vtktkrenderwidget_Init(Tcl_Interp *interp)
}
#if defined(__WIN32__) || defined(_WIN32)
#ifdef _WIN32
//-----------------------------------------------------------------------------
// Creates a render window and forces Tk to use the window.
static int Vtkrenderwidget_MakeRenderWindow(struct Vtkrenderwidget *self)
......@@ -332,7 +338,7 @@ static int Vtkrenderwidget_MakeRenderWindow(struct Vtkrenderwidget *self)
TkWindow *winPtr2;
Tcl_HashEntry *hPtr;
int new_flag;
vtkWin32OglrRendererWindow *renderWindow;
vtkWin32OglrRenderWindow *renderWindow;
if (self->RenderWindow)
{
......
......@@ -44,7 +44,7 @@ MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#include "vtkTclUtil.h"
#include "vtkXRenderWindow.h"
#include "vtkRenderWindow.h"
#define ALL_EVENTS_MASK \
KeyPressMask|KeyReleaseMask|ButtonPressMask|ButtonReleaseMask| \
......
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