[vlc-devel] [PATCH] direct3d11: allow custom shader per pixel format
robux4 at videolabs.io
Fri Mar 27 10:12:42 CET 2015
If I replace with "static const char*" it doesn't compile anymore,
with this error:
I've tried everything by adding/removing "const" in the structure and
the variables and using an intermediate variable. The only one that
works is with the define which makes is a real read-only variable.
On Wed, Mar 25, 2015 at 5:56 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On 25 Mar, Steve Lhomme wrote :
>> -static const char* globPixelShaderDefault = "\
>> +#define globPixelShaderDefault "\
> Why define them?
> Wouldn't that copy it several time in the big array?
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel