isosurf corrections
#ifdeffed tab code in wxPanel git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,8 +22,8 @@ isosurf: isosurf.o glcanvas.o
|
||||
isosurf.o: isosurf.cpp
|
||||
$(CC) `wx-config --cflags` -I../../gtk -c isosurf.cpp
|
||||
|
||||
glcanvas.o: ../..gtk/glcanvas.cpp
|
||||
glcanvas.o: ../../gtk/glcanvas.cpp
|
||||
$(CC) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
|
||||
|
||||
clean:
|
||||
rm -f *.o cube
|
||||
rm -f *.o isosurf
|
||||
|
@@ -254,11 +254,7 @@ bool MyApp::OnInit(void)
|
||||
GLX_DOUBLEBUFFER, None };
|
||||
#endif
|
||||
|
||||
if(!doubleBuffer
|
||||
#ifdef __WXGTK__ // JACS
|
||||
|| !wxGLCanvas::HaveVisual(gl_attrib)
|
||||
#endif
|
||||
)
|
||||
if(!doubleBuffer)
|
||||
{
|
||||
printf("don't have double buffer, disabling\n");
|
||||
#ifdef __WXGTK__
|
||||
|
Reference in New Issue
Block a user