wined3d: The second parameter to glTexImage3DEXT isn't a GLenum.
This commit is contained in:
parent
950014b41f
commit
2100b9dce9
|
@ -262,7 +262,7 @@ static HRESULT WINAPI IWineD3DVolumeImpl_SetContainer(IWineD3DVolume *iface, IWi
|
||||||
return WINED3D_OK;
|
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;
|
IWineD3DVolumeImpl *This = (IWineD3DVolumeImpl *)iface;
|
||||||
WINED3DFORMAT format = This->resource.format;
|
WINED3DFORMAT format = This->resource.format;
|
||||||
const PixelFormatDesc *formatEntry = getFormatDescEntry(format);
|
const PixelFormatDesc *formatEntry = getFormatDescEntry(format);
|
||||||
|
|
|
@ -92,7 +92,7 @@ static DWORD WINAPI IWineD3DVolumeTextureImpl_GetPriority(IWineD3DVolumeTexture
|
||||||
|
|
||||||
static void WINAPI IWineD3DVolumeTextureImpl_PreLoad(IWineD3DVolumeTexture *iface) {
|
static void WINAPI IWineD3DVolumeTextureImpl_PreLoad(IWineD3DVolumeTexture *iface) {
|
||||||
/* Overrider the IWineD3DResource Preload method */
|
/* Overrider the IWineD3DResource Preload method */
|
||||||
UINT i;
|
int i;
|
||||||
IWineD3DVolumeTextureImpl *This = (IWineD3DVolumeTextureImpl *)iface;
|
IWineD3DVolumeTextureImpl *This = (IWineD3DVolumeTextureImpl *)iface;
|
||||||
IWineD3DDeviceImpl *device = This->resource.wineD3DDevice;
|
IWineD3DDeviceImpl *device = This->resource.wineD3DDevice;
|
||||||
|
|
||||||
|
|
|
@ -1209,7 +1209,7 @@ DECLARE_INTERFACE_(IWineD3DVolume,IWineD3DResource)
|
||||||
STDMETHOD(UnlockBox)(THIS) PURE;
|
STDMETHOD(UnlockBox)(THIS) PURE;
|
||||||
STDMETHOD(AddDirtyBox)(THIS_ CONST WINED3DBOX* pDirtyBox) PURE;
|
STDMETHOD(AddDirtyBox)(THIS_ CONST WINED3DBOX* pDirtyBox) PURE;
|
||||||
STDMETHOD(CleanDirtyBox)(THIS) 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;
|
STDMETHOD(SetContainer)(THIS_ IWineD3DBase *container) PURE;
|
||||||
};
|
};
|
||||||
#undef INTERFACE
|
#undef INTERFACE
|
||||||
|
|
Loading…
Reference in New Issue