"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer0/Texture.cpp" between
pymol-open-source-2.2.0.tar.gz and pymol-open-source-2.3.0.tar.gz

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.

Texture.cpp  (pymol-open-source-2.2.0):Texture.cpp  (pymol-open-source-2.3.0)
skipping to change at line 76 skipping to change at line 76
G->Texture = I; G->Texture = I;
I->ch2tex = OVOneToOne_New(G->Context->heap); I->ch2tex = OVOneToOne_New(G->Context->heap);
I->text_texture_dim = INIT_TEXTURE_SIZE; I->text_texture_dim = INIT_TEXTURE_SIZE;
I->text_texture_id = 0; I->text_texture_id = 0;
I->ypos = I->maxypos = I->num_chars = 0; I->ypos = I->maxypos = I->num_chars = 0;
I->xpos = POS_START; I->xpos = POS_START;
return (I ? 1 : 0); return (I ? 1 : 0);
} }
static
void TextureInitTextTextureImpl(PyMOLGlobals *G, int textureSize); void TextureInitTextTextureImpl(PyMOLGlobals *G, int textureSize);
void TextureInitTextTexture(PyMOLGlobals *G){ void TextureInitTextTexture(PyMOLGlobals *G){
TextureInitTextTextureImpl(G, INIT_TEXTURE_SIZE); TextureInitTextTextureImpl(G, INIT_TEXTURE_SIZE);
} }
void TextureInvalidateTextTexture(PyMOLGlobals * G){ void TextureInvalidateTextTexture(PyMOLGlobals * G){
CTexture *I = G->Texture; CTexture *I = G->Texture;
if (I->text_texture_id){ if (I->text_texture_id){
OVOneToOne_Reset(I->ch2tex); OVOneToOne_Reset(I->ch2tex);
I->num_chars = 0; I->num_chars = 0;
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

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