tools/hello: explicitly load the icd provider
This commit is contained in:
parent
8e115d3c77
commit
68a9fa1d2e
@ -293,9 +293,16 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
#include <cruft/vk/icd/vtable.hpp>
|
||||||
|
#include <cruft/vk/icd/vendor.hpp>
|
||||||
|
|
||||||
int
|
int
|
||||||
main (void)
|
main (void)
|
||||||
{
|
{
|
||||||
|
cruft::vk::icd::vendor v (cruft::vk::icd::enumerate ()[0]);
|
||||||
|
cruft::vk::icd::i_table = &v.itable;
|
||||||
|
cruft::vk::icd::v_table = &v.vtable;
|
||||||
|
|
||||||
LOG_INFO ("intialising glfw");
|
LOG_INFO ("intialising glfw");
|
||||||
glfw::instance glfw_instance;
|
glfw::instance glfw_instance;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user