Fix implementation of SkDEBUGFAILF in SkSL.

This wasn't used anywhere yet, so the omission of `fmt` went unnoticed.

Change-Id: I6f5899c31b91ff04240de735fd3f9ef5b6da227e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309179
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
This commit is contained in:
John Stiles 2020-08-10 18:28:54 -04:00 committed by Skia Commit-Bot
parent 49983ef4e7
commit 640c5506c8

View File

@ -14,7 +14,7 @@
#define SkASSERT(x) do { if (!(x)) abort(); } while (false)
#define SkASSERTF(x, __VA_ARGS__) do { if (!(x)) { printf(__VA_ARGS__); abort(); } } while (false)
#define SkDEBUGFAIL(x) do { printf("%s", x); abort(); } while (false)
#define SkDEBUGFAILF(fmt, ...) do { printf(__VA_ARGS__); abort(); } while (false)
#define SkDEBUGFAILF(fmt, ...) do { printf(fmt, __VA_ARGS__); abort(); } while (false)
#define SkAssertResult(x) do { if (!(x)) abort(); } while (false)
#define SkDEBUGCODE(...) __VA_ARGS__
#define SK_API