mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
wined3d: The second parameter to glTexImage3DEXT isn't a GLenum.
This commit is contained in:
parent
950014b41f
commit
2100b9dce9
3 changed files with 3 additions and 3 deletions
|
@ -262,7 +262,7 @@ static HRESULT WINAPI IWineD3DVolumeImpl_SetContainer(IWineD3DVolume *iface, IWi
|
|||
return WINED3D_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IWineD3DVolumeImpl_LoadTexture(IWineD3DVolume *iface, GLenum gl_level) {
|
||||
static HRESULT WINAPI IWineD3DVolumeImpl_LoadTexture(IWineD3DVolume *iface, int gl_level) {
|
||||
IWineD3DVolumeImpl *This = (IWineD3DVolumeImpl *)iface;
|
||||
WINED3DFORMAT format = This->resource.format;
|
||||
const PixelFormatDesc *formatEntry = getFormatDescEntry(format);
|
||||
|
|
|
@ -92,7 +92,7 @@ static DWORD WINAPI IWineD3DVolumeTextureImpl_GetPriority(IWineD3DVolumeTexture
|
|||
|
||||
static void WINAPI IWineD3DVolumeTextureImpl_PreLoad(IWineD3DVolumeTexture *iface) {
|
||||
/* Overrider the IWineD3DResource Preload method */
|
||||
UINT i;
|
||||
int i;
|
||||
IWineD3DVolumeTextureImpl *This = (IWineD3DVolumeTextureImpl *)iface;
|
||||
IWineD3DDeviceImpl *device = This->resource.wineD3DDevice;
|
||||
|
||||
|
|
|
@ -1209,7 +1209,7 @@ DECLARE_INTERFACE_(IWineD3DVolume,IWineD3DResource)
|
|||
STDMETHOD(UnlockBox)(THIS) PURE;
|
||||
STDMETHOD(AddDirtyBox)(THIS_ CONST WINED3DBOX* pDirtyBox) PURE;
|
||||
STDMETHOD(CleanDirtyBox)(THIS) PURE;
|
||||
STDMETHOD(LoadTexture)(THIS_ UINT gl_level) PURE;
|
||||
STDMETHOD(LoadTexture)(THIS_ int gl_level) PURE;
|
||||
STDMETHOD(SetContainer)(THIS_ IWineD3DBase *container) PURE;
|
||||
};
|
||||
#undef INTERFACE
|
||||
|
|
Loading…
Reference in a new issue