Bug 1657545 - Fix -Wbackslash-newline-escape warning in gfx/wr/swgl/src/gl.cc. r=mattwoodrow

Compiling swgl v0.1.0 (/Users/chris/Code/mozilla/firefox/gfx/wr/swgl)
warning: src/gl.cc:413:81: warning: backslash and newline separated by space [-Wbackslash-newline-escape]
warning:   macro(GL_ZERO, GL_ONE_MINUS_SRC_ALPHA, 0, 0)                                 \
warning:                                                                                 ^
warning: 1 warning generated.

Regressed by bug 1656813

Differential Revision: https://phabricator.services.mozilla.com/D86145
This commit is contained in:
Chris Peterson 2020-08-06 07:12:20 +00:00
Родитель 62d3c9edb3
Коммит bf14db3062
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -410,7 +410,7 @@ struct Program {
macro(GL_ONE, GL_ONE_MINUS_SRC_ALPHA, 0, 0) \
macro(GL_ZERO, GL_ONE_MINUS_SRC_COLOR, 0, 0) \
macro(GL_ZERO, GL_ONE_MINUS_SRC_COLOR, GL_ZERO, GL_ONE) \
macro(GL_ZERO, GL_ONE_MINUS_SRC_ALPHA, 0, 0) \
macro(GL_ZERO, GL_ONE_MINUS_SRC_ALPHA, 0, 0) \
macro(GL_ZERO, GL_SRC_COLOR, 0, 0) macro(GL_ONE, GL_ONE, 0, 0) \
macro(GL_ONE, GL_ONE, GL_ONE, GL_ONE_MINUS_SRC_ALPHA) \
macro(GL_ONE, GL_ZERO, 0, 0) \