view Framework/Scene2D/Internals/OpenGLShaderVersionDirective.h @ 637:afc91cdc5128

decoding of images by oracle
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 09 May 2019 18:03:03 +0200
parents 97926984d5d0
children 4eccf698e52f
line wrap: on
line source

#pragma once

#if ORTHANC_ENABLE_WASM == 1
// https://emscripten.org/docs/optimizing/Optimizing-WebGL.html
#  define ORTHANC_STONE_OPENGL_SHADER_VERSION_DIRECTIVE "precision mediump float;\n"
#else
#  define ORTHANC_STONE_OPENGL_SHADER_VERSION_DIRECTIVE "#version 110\n"
#endif