Changeset 3080


Ignore:
Timestamp:
Sep 18, 2017 12:05:22 PM (4 years ago)
Author:
vondreele
Message:

openGL fix for linux systems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3076 r3080  
    148148            self.canvas = wx.glcanvas.GLCanvas(self,-1,**kwargs)
    149149        else:                               #fix from Jim Hester for X systems
    150             attribs = (wx.glcanvas.WX_GL_DOUBLEBUFFER,)
     150            attribs = (wx.glcanvas.WX_GL_DOUBLEBUFFER,wx.glcanvas.WX_GL_DEPTH_SIZE,24)
    151151            self.canvas = wx.glcanvas.GLCanvas(self,-1,attribList=attribs,**kwargs)
    152152        # create GL context
Note: See TracChangeset for help on using the changeset viewer.