mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
[vulkan] Safely ignore fisheye and water warp
I didn't like the abort (especially having pushed it to master). This takes care of things until I can get them implemented properly (hopefully soon).
This commit is contained in:
parent
c2119f0e24
commit
88343d73ea
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -430,13 +430,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
|
||||
|
|
Loading…
Reference in a new issue