Commit Graph

19 Commits

Author SHA1 Message Date
Brandon Wright
b84a8fbd5b glsl: Use core-compatible OpenGL calls.
* Remove glTexCoordPointer because it wasn't affecting anything
anyway.
* Use GL_TRIANGLE_STRIP instead of deprecated GL_QUADS.
2018-10-27 18:00:15 -05:00
Brandon Wright
58e04558c6 Save framebuffer. 2018-10-22 13:56:18 -05:00
Brandon Wright
171a20cb6d Use some more compatible OpenGL version checking. 2018-05-28 18:40:29 -05:00
Brandon Wright
8200a7bb5f Drop Cg shaders from GTK+ port. 2018-05-24 13:00:49 -05:00
OV2
ba76c1c2be win32: handle unicode when loading glsl shaders 2018-05-24 18:19:00 +02:00
OV2
06f84ee6b3 win32: add shader parameters dialog 2018-05-24 15:54:06 +02:00
Brandon Wright
9bd9133fbc Fix declaration so it's obvious I switched variables around. 2018-05-21 18:08:22 -05:00
Brandon Wright
b9b60a8e60 GLSL: Use a viewport callback to size final pass. 2018-05-21 14:36:13 -05:00
OV2
d8ef082cfe Clear config on destroy 2018-05-20 20:51:20 +02:00
OV2
8b55dd617d Set default wrap mode 2018-05-20 20:51:20 +02:00
OV2
ad2c72d26c win32: fist step glsl shaders 2018-05-20 20:51:20 +02:00
Brandon Wright
2a2675938e Use lastpass variable. 2018-05-19 14:10:48 -05:00
Brandon Wright
0d75e78e79 Fix first frame being upside down with motion blur shader. 2018-05-19 14:09:21 -05:00
Brandon Wright
df19fc3f11 Delete contents after use. 2018-05-14 18:27:06 -05:00
Brandon Wright
09ea2d0e67 Various fixes. 2018-05-14 17:19:55 -05:00
Brandon Wright
cc8fd9c231 Add wrap_mode parameter. 2018-05-14 14:27:07 -05:00
Brandon Wright
a42498b161 Fix a bunch of warnings. 2018-05-13 20:19:21 -05:00
Brandon Wright
20127f4473 Clean up glsl.cpp. 2018-05-13 18:39:56 -05:00
Brandon Wright
79adc1d3c8 Move shader files to root directory. 2018-05-13 18:22:54 -05:00