Changeset 22415 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 24, 2009 2:26:29 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/device.c
r21731 r22415 6642 6642 This->stencilBufferTarget = pNewZStencil; 6643 6643 /* should we be calling the parent or the wined3d surface? */ 6644 if (NULL != This->stencilBufferTarget) IWineD3DSurface_AddRef(This->stencilBufferTarget); 6645 if (NULL != tmp) IWineD3DSurface_Release(tmp); 6644 if (NULL != This->stencilBufferTarget) { 6645 IUnknown *pParent; 6646 IWineD3DSurface_AddRef(This->stencilBufferTarget); 6647 IWineD3DSurface_GetParent(This->stencilBufferTarget, &pParent); 6648 } 6649 if (NULL != tmp) { 6650 IUnknown *pParent; 6651 IWineD3DSurface_GetParent(This->stencilBufferTarget, &pParent); 6652 IUnknown_Release(pParent); 6653 IUnknown_Release(pParent); 6654 IWineD3DSurface_Release(tmp); 6655 } 6646 6656 hr = WINED3D_OK; 6647 6657 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c
r21731 r22415 324 324 * TODO: Track the current active texture per GL context instead of using glGet 325 325 */ 326 GLint active_texture ;326 GLint active_texture=GL_TEXTURE0_ARB; 327 327 ENTER_GL(); 328 328 glGetIntegerv(GL_ACTIVE_TEXTURE, &active_texture);
Note:
See TracChangeset
for help on using the changeset viewer.