demos/triangle: Move includes to the appropriate headers.

This commit is contained in:
Henri Verbeet 2016-11-02 10:51:43 +01:00
parent b56b2f8687
commit f17742401a
3 changed files with 5 additions and 5 deletions

View File

@ -23,6 +23,7 @@
#include <dxgi1_4.h> #include <dxgi1_4.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h>
#define DEMO_WINDOW_CLASS_NAME L"demo_wc" #define DEMO_WINDOW_CLASS_NAME L"demo_wc"

View File

@ -25,6 +25,10 @@
#include <vkd3d.h> #include <vkd3d.h>
#include <xcb/xcb_event.h> #include <xcb/xcb_event.h>
#include <xcb/xcb_icccm.h> #include <xcb/xcb_icccm.h>
#include <sys/stat.h>
#include <limits.h>
#include <unistd.h>
#include <fcntl.h>
struct demo struct demo
{ {

View File

@ -46,12 +46,7 @@
*/ */
#define INITGUID #define INITGUID
#include <limits.h>
#include <assert.h> #include <assert.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include "demo.h" #include "demo.h"
struct cxt_fence struct cxt_fence