Skip to content

Instantly share code, notes, and snippets.

View avafinger's full-sized avatar
👻
I may be slow to respond.

avafinger

👻
I may be slow to respond.
View GitHub Profile
@avafinger
avafinger / win32_d3d11.c
Created December 18, 2025 22:26 — 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>