diff --git a/libs/video/renderer/r_screen.c b/libs/video/renderer/r_screen.c index 86608c069..cabd491cc 100644 --- a/libs/video/renderer/r_screen.c +++ b/libs/video/renderer/r_screen.c @@ -288,7 +288,7 @@ SCR_UpdateScreen (transform_t *camera, double realtime, SCR_Func *scr_funcs) if (r_dowarp) { r_funcs->bind_framebuffer (warp_buffer); } - if (scr_fisheye->int_val) { + if (scr_fisheye->int_val && fisheye_cube_map) { int side = fisheye_cube_map->width; vrect_t feye = { 0, 0, side, side }; r_funcs->set_viewport (&feye); diff --git a/libs/video/renderer/vid_render_vulkan.c b/libs/video/renderer/vid_render_vulkan.c index 2b056e7b1..94ffcc987 100644 --- a/libs/video/renderer/vid_render_vulkan.c +++ b/libs/video/renderer/vid_render_vulkan.c @@ -429,13 +429,13 @@ vulkan_end_frame (void) static framebuffer_t * vulkan_create_cube_map (int size) { - Sys_Error ("not implemented"); + return 0; } static framebuffer_t * vulkan_create_frame_buffer (int width, int height) { - Sys_Error ("not implemented"); + return 0; } static void