Browse Source

VK: Added VK device to internal data.

Бранимир Караџић 6 years ago
parent
commit
1e5c99ed76
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/renderer_vk.cpp

+ 1 - 0
src/renderer_vk.cpp

@@ -2145,6 +2145,7 @@ VK_IMPORT_DEVICE
 				bx::snprintf(s_viewName[ii], BGFX_CONFIG_MAX_VIEW_NAME_RESERVED+1, "%3d   ", ii);
 				bx::snprintf(s_viewName[ii], BGFX_CONFIG_MAX_VIEW_NAME_RESERVED+1, "%3d   ", ii);
 			}
 			}
 
 
+			g_internalData.context = m_device;
 			return true;
 			return true;
 
 
 		error:
 		error: