This patch quiets that warning.  It does nothing about the cause of the 
warning (there is a TODO
in ortho.c, presumably when it gets done, the warning would go away).

> 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8
--- layer1/Ortho.c.dist 2014-02-19 08:54:36 -0800
+++ layer1/Ortho.c      2014-02-19 08:57:03 -0800
@@ -203,11 +203,13 @@
  #ifndef _PYMOL_GL_DRAWARRAYS
               /* NEED TODO FOR _PYMOL_GL_DRAWARRAYS */
      glDrawBuffer(mode);
+#ifdef ANNOYING_WARNINGS_ENABLE
      if(glGetError()) {
        PRINTFB(G, FB_OpenGL, FB_Warnings)
          " WARNING: glDrawBuffer caused GL error\n" ENDFB(G);
      }
  #endif
+#endif
      I->ActiveGLBuffer = mode;
    }
  }

> 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8

Once the patch is applied this warning remains

ERROR: CGOOptimizeScreenTexturesAndPolygons() glGenBuffers returns 
err=1282

This warning shows up about 7 times when I start PyMol and load one PDB 
file.

Regards,

David Mathog

On 18-Feb-2014 17:59, Camilo Andrés Jimenez Cruz wrote:
> I downloaded it from the link here
> http://www.pymolwiki.org/index.php/Windows_Install
> 
> 
> -- Camilo Jiménez
> 
> 
> On Tue, Feb 18, 2014 at 2:17 PM, Paweł Tomaszewski 
> <croov...@gmail.com>wrote:
> 
>> Hi Camilo.
>> 
>> I've got the same error! But it seems, there's no simple solution for
>> this. Where do you have your PyMOL from?
>> 
>> Cheers
>> Pawel
>> 
>> 
>> 2014-02-18 2:08 GMT+01:00 Camilo Andrés Jimenez Cruz <
>> camilo.jimen...@gmail.com>:
>> 
>>> Hi everybody
>>> 
>>> I installed pymol 1.6.x unofficial in windows 7 home. As far as I 
>>> have
>>> tested it works well, but the console (as in the screen that the GL 
>>> window
>>> shows when I press escape) and the main window keep constantly 
>>> showing the
>>> message
>>> 
>>>  WARNING: glDrawBuffer caused GL error
>>> 
>>> which is annoying because I can't see the help or any other output to
>>> there.
>>> 
>>> Any ideas on how to tackle this?
>>> 
>>> Thanks
>>> 
>>> -- Camilo Jiménez
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Managing the Performance of Cloud-Based Applications
>>> Take advantage of what the Cloud has to offer - Avoid Common 
>>> Pitfalls.
>>> Read the Whitepaper.
>>> 
>>> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
>>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>>> Archives: 
>>> http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>>> 
>> 
>> 
> 
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> 
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to