title: 'GLXPlatform' object has no attribute 'WGL'
body: <p>I'm a beginner in OpenGL/OpenCL.
  I'm trying to execute code from <a href="http://cyrille.rossant.net/a-tutorial-on-openglopencl-interoperability-in-python/" rel="nofollow">this</a>
  example, but there is an error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "/home/anka-rybalko/workspace/bla/openGL.py", line 99, in initializeGL
  self.initialize_buffers()
  File "/home/anka-rybalko/workspace/bla/openGL.py", line 61, in initialize_buffers
  self.ctx, self.queue = clinit()
  File "/home/anka-rybalko/workspace/bla/openGL.py", line 37, in clinit
  + get_gl_sharing_context_properties())
  File "/usr/lib64/python2.7/site-packages/pyopencl-2014.1-py2.7-linux-x86_64.egg/pyopencl/tools.py", line 422, in get_gl_sharing_context_properties
  from OpenGL import platform as gl_platform, GLX, WGL
  File "/usr/lib/python2.7/site-packages/OpenGL/WGL/__init__.py", line 1, in &lt;module&gt;
  from OpenGL.raw.WGL.VERSION.WGL_1_0 import *
  File "/usr/lib/python2.7/site-packages/OpenGL/raw/WGL/VERSION/WGL_1_0.py", line 48, in &lt;module&gt;
  @_p.types(_cs.c_int,_cs.HDC,ctypes.POINTER(_cs.PIXELFORMATDESCRIPTOR))
  File "/usr/lib/python2.7/site-packages/OpenGL/raw/WGL/VERSION/WGL_1_0.py", line 13, in _f
  return _p.createFunction( function,_p.PLATFORM.WGL,'WGL_VERSION_WGL_1_0',error_checker=_errors._error_checker)
  AttributeError: 'GLXPlatform' object has no attribute 'WGL'
  </code></pre>
  
  <p>As I understand, WGL is an API for Windows OS and not for Linux. Should I somehow specify my platform before? Or how can I fix this?</p>
  
  <p>Thanks in advance!</p>