stub render backend for tests; hoist out raddbg code/entry points from build target file, to be called into by sanity tests

This commit is contained in:
Ryan Fleury
2024-01-12 20:06:38 -08:00
parent 2078af15f9
commit b9a7b64280
11 changed files with 1405 additions and 1277 deletions
+4 -1
View File
@@ -7,6 +7,7 @@
////////////////////////////////
//~ rjf: Backend Constants
#define R_BACKEND_STUB 0
#define R_BACKEND_D3D11 1
////////////////////////////////
@@ -25,7 +26,9 @@
//~ rjf: Backend Includes
#if LANG_CPP
# if R_BACKEND == R_BACKEND_D3D11
# if R_BACKEND == R_BACKEND_STUB
# include "stub/render_stub.h"
# elif R_BACKEND == R_BACKEND_D3D11
# include "d3d11/render_d3d11.h"
# else
# error Renderer backend not specified.