Skip to content

Commit

Permalink
fix Sys_Error messages for vkBindBufferMemory
Browse files Browse the repository at this point in the history
s/vkBindImageMemory/vkBindBufferMemory/
  • Loading branch information
j4reporting authored and Novum committed Jan 6, 2025
1 parent 3761997 commit 2ef75f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Quake/gl_rmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4002,7 +4002,7 @@ void R_CreateBuffer (

err = vkBindBufferMemory (vulkan_globals.device, *buffer, memory->handle, 0);
if (err != VK_SUCCESS)
Sys_Error ("vkBindImageMemory failed");
Sys_Error ("vkBindBufferMemory failed");

if (get_device_address)
{
Expand Down Expand Up @@ -4131,7 +4131,7 @@ size_t R_CreateBuffers (

err = vkBindBufferMemory (vulkan_globals.device, *create_infos[i].buffer, memory->handle, current_offset);
if (err != VK_SUCCESS)
Sys_Error ("vkBindImageMemory failed");
Sys_Error ("vkBindBufferMemory failed");

if (create_infos[i].mapped)
*create_infos[i].mapped = mapped_base + current_offset;
Expand Down

0 comments on commit 2ef75f4

Please sign in to comment.