Changeset 40388 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/resource.c
- Timestamp:
- Mar 7, 2012 12:44:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/resource.c
r38982 r40388 288 288 289 289 #ifdef VBOX_WITH_WDDM 290 HRESULT WINAPI IWineD3DResourceImpl_Set DontDeleteGl(IWineD3DResource *iface) {290 HRESULT WINAPI IWineD3DResourceImpl_SetShRcState(IWineD3DResource *iface, VBOXWINEEX_SHRC_STATE enmState) { 291 291 IWineD3DResourceImpl *This = (IWineD3DResourceImpl*)iface; 292 292 if (!VBOXSHRC_IS_SHARED(This)) … … 296 296 } 297 297 298 VBOXSHRC_SET_DONT_DELETE(This); 299 return WINED3D_OK; 300 } 301 #endif 298 switch (enmState) 299 { 300 case VBOXWINEEX_SHRC_STATE_GL_DISABLE: 301 VBOXSHRC_SET_DISABLE(This); 302 break; 303 case VBOXWINEEX_SHRC_STATE_GL_DELETE: 304 VBOXSHRC_SET_DELETE(This); 305 break; 306 default: 307 ERR("invalid arg"); 308 return E_INVALIDARG; 309 } 310 311 return WINED3D_OK; 312 } 313 #endif
Note:
See TracChangeset
for help on using the changeset viewer.