This commit is contained in:
Artem Kharytoniuk 2017-04-16 21:26:47 +03:00
parent 054816df49
commit a5d410fd9f
2 changed files with 4 additions and 3 deletions

View File

@ -1073,8 +1073,10 @@ const void *RB_SwapBuffers( const void *data ) {
VkResult result = vkEndCommandBuffer(vk.command_buffer);
check_vk_result(result, "vkEndCommandBuffer");
if (r_logFile->integer)
fprintf(vk_log_file, "present\n");
if (r_logFile->integer) {
fprintf(vk_log_file, "present\n");
fflush(vk_log_file);
}
VkPipelineStageFlags wait_dst_stage_mask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
VkSubmitInfo submit_info;

View File

@ -849,7 +849,6 @@ typedef struct {
qboolean projection2D; // if qtrue, drawstretchpic doesn't need to change modes
byte color2D[4];
qboolean vertexes2D; // shader needs to be finished
trRefEntity_t entity2D; // currentEntity will point at this when doing 2D rendering
} backEndState_t;