Skip to content

Instantly share code, notes, and snippets.

@Seiqu
Seiqu / win32_d3d11.c
Created December 7, 2021 06:11 — 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 <d3dcompiler.h>
#define _USE_MATH_DEFINES
#include <math.h>