diff options
Diffstat (limited to 'contrib/opvp')
-rw-r--r-- | contrib/opvp/gdevopvp.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/contrib/opvp/gdevopvp.c b/contrib/opvp/gdevopvp.c index 2e09a596f..70475add3 100644 --- a/contrib/opvp/gdevopvp.c +++ b/contrib/opvp/gdevopvp.c @@ -2506,15 +2506,12 @@ opvp_map_rgb_color(gx_device *dev, b = prgb[2]; #endif -#if !(ENABLE_SIMPLE_MODE) - pdev = (gx_device_opvp *)dev; - r = -1; -#endif - cs = OPVP_CSPACE_STANDARDRGB; - #if ENABLE_SIMPLE_MODE cs = colorSpace; #else + pdev = (gx_device_opvp *)dev; + r = -1; + cs = OPVP_CSPACE_STANDARDRGB; if (pdev->is_open) { /* call GetColorSpace */ if (apiEntry->opvpGetColorSpace) { |