wined3d: Rename IWineD3DDeviceImpl_FindTexUnitMap() to device_update_tex_unit_map().
This commit is contained in:
parent
6d31824a6e
commit
6d31039034
|
@ -2234,7 +2234,7 @@ BOOL context_apply_draw_state(struct wined3d_context *context, struct wined3d_de
|
||||||
/* Preload resources before FBO setup. Texture preload in particular may
|
/* Preload resources before FBO setup. Texture preload in particular may
|
||||||
* result in changes to the current FBO, due to using e.g. FBO blits for
|
* result in changes to the current FBO, due to using e.g. FBO blits for
|
||||||
* updating a resource location. */
|
* updating a resource location. */
|
||||||
IWineD3DDeviceImpl_FindTexUnitMap(device);
|
device_update_tex_unit_map(device);
|
||||||
device_preload_textures(device);
|
device_preload_textures(device);
|
||||||
if (isStateDirty(context, STATE_VDECL))
|
if (isStateDirty(context, STATE_VDECL))
|
||||||
device_update_stream_info(device, context->gl_info);
|
device_update_stream_info(device, context->gl_info);
|
||||||
|
|
|
@ -2980,7 +2980,7 @@ static void device_map_vsamplers(struct wined3d_device *device, BOOL ps, const s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void IWineD3DDeviceImpl_FindTexUnitMap(struct wined3d_device *device)
|
void device_update_tex_unit_map(struct wined3d_device *device)
|
||||||
{
|
{
|
||||||
const struct wined3d_gl_info *gl_info = &device->adapter->gl_info;
|
const struct wined3d_gl_info *gl_info = &device->adapter->gl_info;
|
||||||
const struct wined3d_state *state = &device->stateBlock->state;
|
const struct wined3d_state *state = &device->stateBlock->state;
|
||||||
|
|
|
@ -1790,7 +1790,7 @@ void device_stream_info_from_declaration(struct wined3d_device *device,
|
||||||
void device_switch_onscreen_ds(struct wined3d_device *device, struct wined3d_context *context,
|
void device_switch_onscreen_ds(struct wined3d_device *device, struct wined3d_context *context,
|
||||||
struct wined3d_surface *depth_stencil) DECLSPEC_HIDDEN;
|
struct wined3d_surface *depth_stencil) DECLSPEC_HIDDEN;
|
||||||
void device_update_stream_info(struct wined3d_device *device, const struct wined3d_gl_info *gl_info) DECLSPEC_HIDDEN;
|
void device_update_stream_info(struct wined3d_device *device, const struct wined3d_gl_info *gl_info) DECLSPEC_HIDDEN;
|
||||||
void IWineD3DDeviceImpl_FindTexUnitMap(struct wined3d_device *device) DECLSPEC_HIDDEN;
|
void device_update_tex_unit_map(struct wined3d_device *device) DECLSPEC_HIDDEN;
|
||||||
void IWineD3DDeviceImpl_MarkStateDirty(struct wined3d_device *device, DWORD state) DECLSPEC_HIDDEN;
|
void IWineD3DDeviceImpl_MarkStateDirty(struct wined3d_device *device, DWORD state) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
static inline BOOL isStateDirty(struct wined3d_context *context, DWORD state)
|
static inline BOOL isStateDirty(struct wined3d_context *context, DWORD state)
|
||||||
|
|
Loading…
Reference in New Issue