
along with options to select backends for windowing, rendering, audio and controls in the Makefile use RENDER_API=D3D11 or D3D12 for the D3D renderers, that will also automatically enable using DXGI for windowing; SDL2 will still be used for input and audio for the time being also adds three-point filtering to the OpenGL backend and an option for it in the menu
11 lines
216 B
C
11 lines
216 B
C
#ifndef GFX_DIRECT3D11_H
|
|
#define GFX_DIRECT3D11_H
|
|
|
|
#include "gfx_window_manager_api.h"
|
|
#include "gfx_rendering_api.h"
|
|
|
|
extern struct GfxWindowManagerAPI gfx_dxgi;
|
|
extern struct GfxRenderingAPI gfx_d3d11_api;
|
|
|
|
#endif
|