mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Re-apply part of r4647. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4681 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8934226bb2
commit
e087ffabfc
1 changed files with 5 additions and 2 deletions
|
@ -152,8 +152,10 @@ void copybufreverse(const void *S, void *D, int32_t c)
|
|||
#elif defined(__GNUC__) && defined(GEKKO)
|
||||
|
||||
// naked function (no prolog/epilog)
|
||||
// FIXME: this function produces unused parameter warnings and a missing return warning
|
||||
int32_t scale(int32_t a, int32_t d, int32_t c)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wreturn-type"
|
||||
int32_t scale(int32_t a, int32_t d, int32_t c) ATTRIBUTE((naked));
|
||||
{
|
||||
// return ((int64_t)a * d) / c;
|
||||
|
||||
|
@ -232,6 +234,7 @@ int32_t scale(int32_t a, int32_t d, int32_t c)
|
|||
" blr\n"
|
||||
);
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
void clearbufbyte(void *d, int32_t c, int32_t a)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue