mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-07 15:31:02 +00:00
Add NO_DRAWERGEN define
This commit is contained in:
parent
d825ec334c
commit
3b7bc2d1e5
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,8 @@
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#if !defined(NO_DRAWERGEN)
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
void DrawColumn_SSE2(const DrawColumnArgs *, const WorkerThreadData *);
|
void DrawColumn_SSE2(const DrawColumnArgs *, const WorkerThreadData *);
|
||||||
|
@ -150,11 +152,13 @@ extern "C"
|
||||||
void TriFill32_13_SSE2(const TriDrawTriangleArgs *, WorkerThreadData *);
|
void TriFill32_13_SSE2(const TriDrawTriangleArgs *, WorkerThreadData *);
|
||||||
void TriFill32_14_SSE2(const TriDrawTriangleArgs *, WorkerThreadData *);
|
void TriFill32_14_SSE2(const TriDrawTriangleArgs *, WorkerThreadData *);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
Drawers::Drawers()
|
Drawers::Drawers()
|
||||||
{
|
{
|
||||||
|
#if !defined(NO_DRAWERGEN)
|
||||||
DrawColumn = DrawColumn_SSE2;
|
DrawColumn = DrawColumn_SSE2;
|
||||||
DrawColumnAdd = DrawColumnAdd_SSE2;
|
DrawColumnAdd = DrawColumnAdd_SSE2;
|
||||||
DrawColumnShaded = DrawColumnShaded_SSE2;
|
DrawColumnShaded = DrawColumnShaded_SSE2;
|
||||||
|
@ -245,6 +249,7 @@ Drawers::Drawers()
|
||||||
TriFill32.push_back(TriFill32_12_SSE2);
|
TriFill32.push_back(TriFill32_12_SSE2);
|
||||||
TriFill32.push_back(TriFill32_13_SSE2);
|
TriFill32.push_back(TriFill32_13_SSE2);
|
||||||
TriFill32.push_back(TriFill32_14_SSE2);
|
TriFill32.push_back(TriFill32_14_SSE2);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
Drawers *Drawers::Instance()
|
Drawers *Drawers::Instance()
|
||||||
|
|
Loading…
Reference in a new issue