mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-20 05:04:53 -04:00
Merge branch 'main' into sse
This commit is contained in:
commit
14984064d1
1 changed files with 2 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <SDL_surface.h>
|
#include <SDL_surface.h>
|
||||||
|
|
||||||
|
template<Uint32 format> constexpr bool assert_false = false;
|
||||||
|
|
||||||
template<Uint32 format>
|
template<Uint32 format>
|
||||||
struct FormatMapping {
|
struct FormatMapping {
|
||||||
static_assert(false, "Unsupported pixel format");
|
static_assert(assert_false<format>, "Unsupported pixel format");
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue