Commit Graph

406 Commits

Author SHA1 Message Date
aap 47487afc04 subrast example 2021-03-03 16:43:20 +01:00
aap 0921a2b003 finished lights example 2021-03-03 02:00:52 +01:00
aap af20de4522 changes to gl shaders 2021-03-02 22:21:58 +01:00
aap 427b67c14c fixes to uniforms 2021-03-02 17:23:39 +01:00
aap 0102f88367
Merge pull request #68 from phire/uglyness
GL: Fix MSAA off mode
2021-02-28 10:49:29 +01:00
Scott Mansell 775075812b GL: Fix MSAA off mode 2021-02-28 22:38:48 +13:00
aap 81ed9cb75e
Merge pull request #67 from phire/delete_the_right_thing
Opengl: need to delete Shader, not Program
2021-02-27 09:34:25 +01:00
Scott Mansell 0151d72140 Opengl: need to delete Shader, not Program
Fixes an error that is reported by various opengl debugging tools
2021-02-27 19:28:39 +13:00
aap 4dfaa83f49 Merge branch 'master' of github.com:aap/librw 2021-02-26 17:20:29 +01:00
aap 58357e37e1 implement more options for matfx 2021-02-26 17:20:20 +01:00
Haydn Trigg 266a09b60d Fix issue with IDirect3DDevice::CreateTexture failing causing undefined pointer assignment 2021-02-21 14:12:33 +00:00
aap bb7fb68531 opengl default pipe: dont do unnecessary alpha test 2021-02-20 00:02:51 +01:00
aap 276ac82ddf implement new gl uniform system 2021-02-19 23:32:15 +01:00
aap 8b2caf8f86 window size test 2021-02-18 21:03:42 +01:00
aap cc550ff69c fix raster bugs 2021-02-18 19:57:42 +01:00
aap 65c619b3e7 glFramebufferTexture -> glFramebufferTexture2D 2021-02-18 11:07:36 +01:00
aap 576d211cbd vertex input stream functions 2021-02-18 01:57:41 +01:00
Adrian Graber ad9954f6be Add GL_KHR_debug extension to loader 2021-02-17 15:47:04 +01:00
shfil 0a4572ce6c
Update CMakeLists.txt 2021-02-17 14:32:02 +01:00
shfil d1554a70a8
Update CMakeLists.txt 2021-02-17 13:55:30 +01:00
Adrian Graber d341d73f80 Update glad loader
- Add requested version parameter
- Use custom loading for GL 2.0 FO extensions
- Use GLES loader when we request GLES
2021-02-17 02:27:06 +01:00
aap 767ee0eac3 glad extension fix 2021-02-17 01:33:12 +01:00
aap 8ea4c9ae31
Merge pull request #48 from AGraber/gl3_glad
Add glad (OpenGL function loader) support
2021-02-17 00:17:29 +01:00
aap 41ae7b9b61 switched d3d im2d to use a VS so we can have fog 2021-02-12 20:09:37 +01:00
aap fb859c0fa6 fix opengl im2d. d3d still no fog 2021-02-12 13:58:11 +01:00
aap 4c77fb5754 fix d3d fb lock 2021-02-12 00:04:15 +01:00
aap 5c95300890 fix d3d state cache 2021-02-06 11:19:04 +01:00
aap 71d132839e add modulate flag check for material rendering 2021-02-06 10:59:38 +01:00
aap 207c2ee244 opengl mipmap fix 2021-02-04 17:34:04 +01:00
Adrian Graber e62a124b8c Replace glew with glad 2021-01-31 13:48:59 +01:00
aap a4df4d8b5d fix questionable bug 2021-01-29 14:06:24 +01:00
aap 60a5ace163 anisotropy plugin 2021-01-21 22:02:49 +01:00
aap 9260bddc66 framebuffer read lock; gl raster to image 2021-01-21 02:23:28 +01:00
aap baa8666a03 some fixing; may have to revisit matfx again in the future... 2021-01-20 23:42:00 +01:00
aap e9e2488834 fix memory leak 2021-01-20 18:47:37 +01:00
aap 11104a16d2 strdup fix 2021-01-19 18:28:49 +01:00
SK83RJOSH 5408e70227 Merge branch 'master' into stencil-fix 2021-01-18 18:03:49 +01:00
SK83RJOSH 2477b120eb Depth texture should always create a stencil buffer 2021-01-18 18:03:15 +01:00
aap c493613724
Merge pull request #42 from ccawley2011/rwstrdup
Replace use of strdup with rwstrdup
2021-01-14 00:34:13 +01:00
aap 77ea31bdba
Merge pull request #45 from ShFil119/warns
Fix some warnings on gcc/clang
2021-01-14 00:33:43 +01:00
aap 61b288a9fe zero d3d device cache 2021-01-09 21:05:14 +01:00
aap 78d540fce0 Merge branch 'master' of github.com:aap/librw 2021-01-09 19:44:53 +01:00
aap f04ddf031d extra surf prop for opengl 2021-01-09 19:44:46 +01:00
Cameron Cawley 757d937cda Replace use of strdup with rwstrdup 2021-01-03 13:40:21 +00:00
aap d008d5107b
Merge pull request #44 from madebr/ps2_conan
cmake updates + test SDL2 & PS2 on Github Actions
2021-01-02 23:21:59 +01:00
Filip Gawin c26386c112 Fix some warnings on gcc/clang 2021-01-02 21:54:40 +01:00
Anonymous Maarten 4d260a631b cmake: need SDL2main on Windows (and other platforms) + link to m on GNU/clang 2021-01-02 20:47:22 +01:00
Anonymous Maarten 7f0b98f960 cmake: remove double check for GL3 2021-01-02 20:47:22 +01:00
Anonymous Maarten a5d31ade07 librw+cmake: compile lodepng as pure C 2021-01-02 20:47:22 +01:00
Anonymous Maarten 32234609ea cmake: no indentation for closing cmake command parenthesis 2021-01-02 20:47:19 +01:00