Fix build error due to conflicting types
This commit is contained in:
parent
9dda65455b
commit
e8dc02aa3f
|
@ -1758,7 +1758,7 @@ void ED_view3d_draw_offscreen(Depsgraph *depsgraph,
|
|||
void ED_view3d_draw_offscreen_simple(Depsgraph *depsgraph,
|
||||
Scene *scene,
|
||||
View3DShading *shading_override,
|
||||
int drawtype,
|
||||
eDrawType drawtype,
|
||||
int winx,
|
||||
int winy,
|
||||
uint draw_flags,
|
||||
|
|
|
@ -150,7 +150,7 @@ void wm_xr_draw_view(const GHOST_XrDrawViewInfo *draw_view, void *customdata)
|
|||
ED_view3d_draw_offscreen_simple(draw_data->depsgraph,
|
||||
draw_data->scene,
|
||||
&settings->shading,
|
||||
settings->shading.type,
|
||||
(eDrawType)settings->shading.type,
|
||||
draw_view->width,
|
||||
draw_view->height,
|
||||
display_flags,
|
||||
|
|
Loading…
Reference in New Issue