#include<GLFW/glfw3.h>#include<stdlib.h>intmain(intargc,char**argv) {GLFWwindow*window;constGLFWvidmode*mode;if(!glfwInit())exit(EXIT_FAILURE);glfwWindowHint(GLFW_VISIBLE,GLFW_FALSE);window=glfwCreateWindow(640,480,"Test",NULL,NULL);if(!window) {glfwTerminate();exit(EXIT_FAILURE); }mod...
#include <vulkan/vulkan.h> #include <GLFW/glfw3.h> #include <iostream> int main(int argc, char *argv[]) { if (glfwVulkanSupported()) { std::cout << "vulkan supported !" << std::endl; } else { std::cout << "vulkan NOT supported !" << std::endl; } return 0; } ...