Compilation fixes for OpenGL.
This commit is contained in:
parent
4306eaa898
commit
67247b2b1d
|
@ -123,7 +123,7 @@ static void fill_opengl_caps(D3DDEVICEDESC *d1, D3DDEVICEDESC *d2)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void fill_device_capabilities(IDirectDrawImpl* ddraw) {
|
static void fill_device_capabilities(IDirectDrawImpl* ddraw) {
|
||||||
x11_dd_private *private = (x11_dd_private *) ddraw->private;
|
x11_dd_private *private = (x11_dd_private *) ddraw->d->private;
|
||||||
const char *ext_string;
|
const char *ext_string;
|
||||||
Mesa_DeviceCapabilities *devcap;
|
Mesa_DeviceCapabilities *devcap;
|
||||||
|
|
||||||
|
|
|
@ -413,7 +413,7 @@ HRESULT WINAPI IDirect3DTexture2Impl_Load(
|
||||||
|
|
||||||
if (color_table_queried == FALSE) {
|
if (color_table_queried == FALSE) {
|
||||||
ptr_ColorTableEXT =
|
ptr_ColorTableEXT =
|
||||||
((Mesa_DeviceCapabilities *) ((x11_dd_private *) This->surface->s.ddraw->private)->device_capabilities)->ptr_ColorTableEXT;
|
((Mesa_DeviceCapabilities *) ((x11_dd_private *) This->surface->s.ddraw->d->private)->device_capabilities)->ptr_ColorTableEXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pal == NULL) {
|
if (pal == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue