Skip to content

Instantly share code, notes, and snippets.

@JuliusOctavian
JuliusOctavian / win32_d3d11.c
Created February 24, 2024 10:24 — forked from mmozeiko/win32_d3d11.c
setting up and using D3D11 in C
// example how to set up D3D11 rendering on Windows in C
#define COBJMACROS
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <d3d11.h>
#include <dxgi1_3.h>
#include <d3dcompiler.h>
#include <dxgidebug.h>