Changeset 27889 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_projmatrix.c
- Timestamp:
- Mar 31, 2010 12:57:09 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59577
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_projmatrix.c
r15532 r27889 47 47 crStateLoadMatrixf( m ); 48 48 49 if (matMode == GL_PROJECTION && mural->numExtents > 0) { 50 /* we're loading a matrix onto the projection stack -- better put the base 51 * projection there first! */ 52 crServerApplyBaseProjection(&(mural->extents[mural->curExtent]. 53 baseProjection)); 54 } 55 else if (matMode == GL_MODELVIEW && cr_server.viewOverride) { 49 if (matMode == GL_MODELVIEW && cr_server.viewOverride) { 56 50 int eye = crServerGetCurrentEye(); 57 51 crServerApplyViewMatrix(&cr_server.viewMatrix[eye]); … … 70 64 crStateLoadMatrixd( m ); 71 65 72 if (matMode == GL_PROJECTION && mural->numExtents > 0) { 73 /* we're loading a matrix onto the projection stack -- better put the base 74 * projection there first! */ 75 crServerApplyBaseProjection(&(mural->extents[mural->curExtent]. 76 baseProjection)); 77 } 78 else if (matMode == GL_MODELVIEW && cr_server.viewOverride) { 66 if (matMode == GL_MODELVIEW && cr_server.viewOverride) { 79 67 int eye = crServerGetCurrentEye(); 80 68 crServerApplyViewMatrix(&cr_server.viewMatrix[eye]); … … 128 116 crStateLoadIdentity(); 129 117 130 if (matMode == GL_PROJECTION && mural->numExtents > 0) { 131 /* we're loading a matrix onto the projection stack -- better put the base 132 * projection there first! */ 133 crServerApplyBaseProjection(&(mural->extents[mural->curExtent]. 134 baseProjection)); 135 } 136 else if (matMode == GL_MODELVIEW && cr_server.viewOverride) { 118 if (matMode == GL_MODELVIEW && cr_server.viewOverride) { 137 119 int eye = crServerGetCurrentEye(); 138 120 crServerApplyViewMatrix(&cr_server.viewMatrix[eye]); … … 207 189 crServerDispatchProgramLocalParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 208 190 { 191 #if 0 209 192 if (target == GL_VERTEX_PROGRAM_ARB) { 210 193 CRServerProgram *prog = LookupProgram(cr_server.currentProgram); … … 240 223 } 241 224 } 225 #endif 242 226 243 227 /* if we get here, pass the call through unchanged */ … … 256 240 crServerDispatchProgramParameter4fNV(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 257 241 { 242 #if 0 258 243 if (target == GL_VERTEX_PROGRAM_NV) { 259 244 CRServerProgram *prog = LookupProgram(cr_server.currentProgram); … … 289 274 } 290 275 } 276 #endif 291 277 292 278 /* if we get here, pass the call through unchanged */
Note:
See TracChangeset
for help on using the changeset viewer.