Fix build error on windows

Error was caused by using `#if` directive in `PyDoc_STRVAR` macro.

This partially reverts 1e4c35d910
This commit is contained in:
Richard Antalik 2021-03-31 09:46:38 +02:00
parent b128ffd539
commit 645fc0c767
1 changed files with 3 additions and 5 deletions

View File

@ -96,11 +96,9 @@ PyDoc_STRVAR(
" * ``MULTIPLY`` The original color channels are multiplied by the corresponding ones.\n"
" * ``SUBTRACT`` The original color channels are subtracted by the corresponding ones.\n"
" * ``INVERT`` The original color channels are replaced by its complementary color.\n"
#if 0
" * ``OIT``.\n"
" * ``BACKGROUND`` .\n"
" * ``CUSTOM`` .\n"
#endif
//" * ``OIT``.\n"
//" * ``BACKGROUND`` .\n"
//" * ``CUSTOM`` .\n"
" :type mode: str\n");
static PyObject *pygpu_state_blend_set(PyObject *UNUSED(self), PyObject *value)
{