- Timestamp:
- Mar 2, 2012 7:58:50 AM (13 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r39603 r40318 1578 1578 1579 1579 uint32_t cbWriteback = pWbBuf->cbBuffer; 1580 uint8_t *pWriteback = VBOXCRHGSMI_PTR_SAFE(pWbBuf->offBuffer, cbWriteback, uint8_t);1580 char *pWriteback = VBOXCRHGSMI_PTR_SAFE(pWbBuf->offBuffer, cbWriteback, char); 1581 1581 1582 1582 if (cbHdr < sizeof (*pFnCmd)) -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_stream.c
r39288 r40318 440 440 { 441 441 uint32_t cbWriteback = pCmdData->cbWriteback; 442 rc = crVBoxServerInternalClientRead(conn->pClient, pCmdData->pWriteback, &cbWriteback);442 rc = crVBoxServerInternalClientRead(conn->pClient, (uint8_t*)pCmdData->pWriteback, &cbWriteback); 443 443 CRASSERT(rc == VINF_SUCCESS || rc == VERR_BUFFER_OVERFLOW); 444 444 *pCmdData->pcbWriteback = cbWriteback; -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_init.c
r38964 r40318 363 363 { 364 364 GLfloat version; 365 version = crStrToFloat((c har *) render_spu.ws.glGetString(GL_VERSION));366 367 if (version>=2.f || crStrstr( render_spu.ws.glGetString(GL_EXTENSIONS), "GL_ARB_vertex_shader"))365 version = crStrToFloat((const char *) render_spu.ws.glGetString(GL_VERSION)); 366 367 if (version>=2.f || crStrstr((const char*)render_spu.ws.glGetString(GL_EXTENSIONS), "GL_ARB_vertex_shader")) 368 368 { 369 369 GLint mu=0;
Note:
See TracChangeset
for help on using the changeset viewer.