From: Steinar H. Gunderson Date: Fri, 21 Mar 2014 00:32:42 +0000 (+0100) Subject: Add support for multiple shader models. X-Git-Tag: 1.1~12^2~7 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=28bc5f37437fa8eaca523a209c558b807ced2db3;hp=28bc5f37437fa8eaca523a209c558b807ced2db3;p=movit Add support for multiple shader models. We support 1.10 (for OpenGL 2.1 cards), 1.30 (for OpenGL 3.2 core contexts), and 3.00 ES (for GLES3). There's some code duplication, but thankfully not a whole lot. With this, we compile in core contexts without any warning from ATI's driver, and should also in theory be GLES3 compliant (tested on NVidia's desktop driver). ---