Cleanup.
This commit is contained in:
parent
054816df49
commit
a5d410fd9f
|
|
@ -1073,8 +1073,10 @@ const void *RB_SwapBuffers( const void *data ) {
|
||||||
VkResult result = vkEndCommandBuffer(vk.command_buffer);
|
VkResult result = vkEndCommandBuffer(vk.command_buffer);
|
||||||
check_vk_result(result, "vkEndCommandBuffer");
|
check_vk_result(result, "vkEndCommandBuffer");
|
||||||
|
|
||||||
if (r_logFile->integer)
|
if (r_logFile->integer) {
|
||||||
fprintf(vk_log_file, "present\n");
|
fprintf(vk_log_file, "present\n");
|
||||||
|
fflush(vk_log_file);
|
||||||
|
}
|
||||||
|
|
||||||
VkPipelineStageFlags wait_dst_stage_mask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
|
VkPipelineStageFlags wait_dst_stage_mask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
|
||||||
VkSubmitInfo submit_info;
|
VkSubmitInfo submit_info;
|
||||||
|
|
|
||||||
|
|
@ -849,7 +849,6 @@ typedef struct {
|
||||||
|
|
||||||
qboolean projection2D; // if qtrue, drawstretchpic doesn't need to change modes
|
qboolean projection2D; // if qtrue, drawstretchpic doesn't need to change modes
|
||||||
byte color2D[4];
|
byte color2D[4];
|
||||||
qboolean vertexes2D; // shader needs to be finished
|
|
||||||
trRefEntity_t entity2D; // currentEntity will point at this when doing 2D rendering
|
trRefEntity_t entity2D; // currentEntity will point at this when doing 2D rendering
|
||||||
} backEndState_t;
|
} backEndState_t;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user