Changeset 55766 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- May 8, 2015 7:26:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r55764 r55766 1258 1258 GLuint i; 1259 1259 GLfloat *pF; 1260 CRFBDataElement *pEl;1261 1260 GLuint width; 1262 1261 GLuint height; … … 1319 1318 AssertReturn(rc == VINF_SUCCESS, rc); 1320 1319 1321 /* Init to default depth value, just in case. */1322 pF = (GLfloat*)p El->pvData;1320 /* Init to default depth value, just in case. "pData->cElements - 1" because we incremented counter in crVBoxAddFBDataElement(). */ 1321 pF = (GLfloat*)pData->aElements[pData->cElements - 1].pvData; 1323 1322 for (i = 0; i < width * height; ++i) 1324 1323 pF[i] = 1.; … … 1353 1352 AssertReturn(rc == VINF_SUCCESS, rc); 1354 1353 1355 /* Init to default depth value, just in case. */1356 pF = (GLfloat*)p El->pvData;1354 /* Init to default depth value, just in case. "pData->cElements - 1" because we incremented counter in crVBoxAddFBDataElement(). */ 1355 pF = (GLfloat*)pData->aElements[pData->cElements - 1].pvData; 1357 1356 for (i = 0; i < width * height; ++i) 1358 1357 pF[i] = 1.;
Note:
See TracChangeset
for help on using the changeset viewer.