Fix Shader compilation error on MacOS & some other platform/driver
authorClément Foucault <foucault.clem@gmail.com>
Tue, 14 May 2019 14:43:37 +0000 (16:43 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Tue, 14 May 2019 14:43:37 +0000 (16:43 +0200)
commit8437519d0282e4d6ccb2f22d042bcaba2ac7d603
treef29372aefbeb3f9f01b64ca8885c685312d10a93
parent3db428406f69358f7bc81e8f757f733338236a29
Fix Shader compilation error on MacOS & some other platform/driver

texture2D() is no longer supported by modern opengl, use texture() instead.
source/blender/draw/engines/gpencil/shaders/gpencil_fill_frag.glsl
source/blender/draw/engines/gpencil/shaders/gpencil_point_frag.glsl
source/blender/draw/engines/gpencil/shaders/gpencil_stroke_frag.glsl
source/blender/draw/modes/shaders/object_empty_image_frag.glsl
source/blender/draw/modes/shaders/paint_texture_frag.glsl