wined3d: Initialize the gl_info pointer from the context.
This commit is contained in:
parent
b12ec91c09
commit
121bd9d201
|
@ -7042,7 +7042,7 @@ static void upload_palette(const struct wined3d_surface *surface, struct wined3d
|
|||
{
|
||||
BYTE table[256][4];
|
||||
struct wined3d_device *device = surface->resource.device;
|
||||
const struct wined3d_gl_info *gl_info = &device->adapter->gl_info;
|
||||
const struct wined3d_gl_info *gl_info = context->gl_info;
|
||||
struct arbfp_blit_priv *priv = device->blit_priv;
|
||||
BOOL colorkey = (surface->CKeyFlags & WINEDDSD_CKSRCBLT) != 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue