Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- surface.c: In function ‘ddraw_surface_create’:
- surface.c:5777:107: warning: passing argument 4 of ‘wined3d_device_reset’ from incompatible pointer type
- if (FAILED(hr = wined3d_device_reset(ddraw->wined3d_device,
- ^
- In file included from ddraw_private.h:39:0,
- from surface.c:27:
- ../../include/wine/wined3d.h:2235:81: note: expected ‘wined3d_device_reset_cb’ but argument is of type ‘HRESULT (__attribute__((__cdecl__)) *)(struct wined3d_resource *)’
- HRESULT __cdecl wined3d_device_reset(struct wined3d_device *device,
- ^
- device.c: In function ‘wined3d_device_reset’:
- device.c:4378:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct wined3d_texture *texture = wined3d_texture_from_resource(resource);
- ^
- device.c: In function ‘device_resource_released’:
- device.c:4764:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct wined3d_texture *texture = wined3d_texture_from_resource(resource);
- ^
- context.c: In function ‘context_resource_unloaded’:
- context.c:738:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct wined3d_texture *texture = wined3d_texture_from_resource(resource);
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement