mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +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
6bbbe4997b
commit
03c403610d
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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue