mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 21:08:40 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user