"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer0/os_gl.cpp" between
pymol-v1.8.6.0.tar.bz2 and pymol-v2.1.0.tar.bz2

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

os_gl.cpp  (pymol-v1.8.6.0.tar.bz2):os_gl.cpp  (pymol-v2.1.0.tar.bz2)
skipping to change at line 99 skipping to change at line 99
glPixelStorei(GL_UNPACK_SKIP_PIXELS, skippixels); glPixelStorei(GL_UNPACK_SKIP_PIXELS, skippixels);
glPixelStorei(GL_UNPACK_ALIGNMENT, alignment); glPixelStorei(GL_UNPACK_ALIGNMENT, alignment);
} }
int PyMOLCheckOpenGLErr(const char *pos) int PyMOLCheckOpenGLErr(const char *pos)
{ {
int flag = 0; int flag = 0;
GLenum glerr = glGetError(); GLenum glerr = glGetError();
while(glerr != GL_NO_ERROR) { while(glerr != GL_NO_ERROR) {
printf("OpenGL-Error: Where? %s: %s\n", pos, (char *) gluErrorString(glerr)) ; printf("OpenGL-Error: Where? %s: glerr=%d\n", pos, glerr);
glerr = glGetError(); glerr = glGetError();
flag = 1; flag = 1;
} }
return flag; return flag;
} }
#ifdef _PYMOL_NO_GLUT #ifdef _PYMOL_NO_GLUT
#ifndef _MACPYMOL_XCODE #ifndef _MACPYMOL_XCODE
int p_glutGet(GLenum type) int p_glutGet(GLenum type)
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)