wined3d: Get rid of a superfluous cast.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2022-01-27 15:57:58 +01:00 committed by Alexandre Julliard
parent 0bc91a72e8
commit a7cd33ef51
1 changed files with 1 additions and 1 deletions

View File

@ -2706,7 +2706,7 @@ static void *wined3d_bo_gl_map(struct wined3d_bo_gl *bo, struct wined3d_context_
map:
if (bo->b.map_ptr)
return (uint8_t *)bo->b.map_ptr;
return bo->b.map_ptr;
gl_info = context_gl->gl_info;
wined3d_context_gl_bind_bo(context_gl, bo->binding, bo->id);