45334064b6
ref_gl: remove detail textures list generation leftovers
2021-03-01 21:53:43 +03:00
58edfbc485
engine: move cvars that expected to exist by client.dll from render dll to engine
...
Fixes #316
2021-03-01 20:03:32 +03:00
Gleb Mazovetskiy
d9ed654f04
bump gl4es
...
Build fix: d79ac6a6d7
A few rendering fixes:
* 1f52c84f5a
* d8a2dc35ee
2021-02-03 16:16:51 +03:00
652a946e09
ref_gl: update gl4es submodule
2021-01-29 03:33:36 +03:00
c158771f59
ref_gl: gl_rsurf.c: don't use asserts to prevent engine from stopping when vbo is disabled.
2021-01-17 23:11:59 +03:00
221a9bab54
Fix screenshots on gles1
...
> format must be either GL_RGBA or the value of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES.
2021-01-09 18:36:46 +03:00
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
Gleb Mazovetskiy
7f98998765
ref_gl/gl4es: bump
...
To get this bugfix: 221fa1e67a
2020-12-29 03:25:57 +03:00
Gleb Mazovetskiy
69e15e9c7b
gl4es: Fix so
name and add to renderer collector
...
1. `libref_gles2_gl4es.so` -> `libref_gl4es.so` because this is what's
passed to `R_LoadRenderer`.
2. Add `gl4es` to `DEFAULT_RENDERERS` so that `R_CollectRendererNames`
finds it.
2020-12-29 00:44:42 +03:00
Gleb Mazovetskiy
a92b310e0e
Add gl4es submodule
...
Fixes #248
2020-12-28 16:11:04 +03:00
Gleb Mazovetskiy
36b32cad0f
Fix 2 instances of void* pointer arithmetic
...
Partially reverts 341e440c07
Let's see if this fixes the windows build on travis
2020-12-28 13:08:18 +03:00
5f54582692
ref_gl: simplified strings operations.
2020-11-29 13:46:48 +03:00
bb387cfe4b
ref_gl/gl4es: fix android build
2020-11-18 12:19:52 +03:00
341e440c07
public,sprites: fix -Wcast-align, disable -Werror for it
2020-11-18 12:15:54 +03:00
c80da05e94
ref_gl: make renderer fallback possible
2020-07-08 08:46:07 +07:00
0db1a7743d
engine: try to fix -Wmaybe-uninitialized that may be enabled with -Wuninitialized. Diagnostic is prone to false-positives, as compiler don't have enough data for this
2020-05-12 02:00:34 +03:00
FOTMarut
53768c84d6
ref_gl: de-duplicate GL function definitions
...
- Used APIENTRY_LINKAGE in ref_gl to remove duplicate definitions of GL
functions among translation units
- Fixes building ref_gl with -fno-common (GCC 10)
2020-05-02 18:57:37 +03:00
FOTMarut
3c2840f7d1
ref_gl: Added APIENTRY_LINKAGE macro
...
- Added APIENTRY_LINKAGE macro to specify linkage of GL functions inside
ref_gl/gl_export.h
Currently defaults to empty (-> auto)
2020-05-02 18:57:37 +03:00
544fc63b6b
ref_gl: nanogl: update
2020-03-30 00:48:31 +03:00
4c6fd79f07
tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already
2020-03-30 00:42:10 +03:00
3c8ce640c4
Merge neko/mathlib into master
2020-03-04 05:38:30 +03:00
4994a7ef6f
ref_gl: fix build
2020-02-25 19:08:17 +07:00
0c69f7649c
ref_gl: add gl4es support
2020-02-25 12:59:04 +07:00
8f8c8e6614
ref: add export that returns GL_GetProcAddress for renderapi
2020-02-25 12:59:04 +07:00
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
2020-02-12 14:32:26 +05:00
2e2a716710
ref_api: fix remap code
2020-01-30 07:15:23 +07:00
22dc5b7416
Merge branch 'lib' of https://github.com/FWGS/xash3d-fwgs
2020-01-18 07:15:45 +07:00
0fe18ae6dc
engine: fix -Wmaybe-uninitialized
2019-12-24 02:47:51 +03:00
e11a08064d
engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics
2019-12-23 06:48:17 +03:00
ac75bdf2d4
ref_gl: update gl-wes-v2 submodule
2019-12-01 01:42:27 +03:00
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
2019-11-28 19:18:50 +03:00
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
2019-11-24 03:52:08 +03:00
177f8ed653
platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options
2019-11-18 03:31:55 +07:00
09203dc512
ref_gl: temporarily fix water drawing on GLES
2019-11-17 18:51:39 +03:00
3c3d5d472e
ref_gl: bring back glDrawRangeElements support
2019-11-17 18:51:03 +03:00
0cb591821a
Merge sdl12-port into master
2019-11-06 22:29:04 +03:00
15924aebaa
xash3d-fwgs: check if HAVE_TGMATH_H is set to positive value rather it's just defined
2019-11-05 01:41:35 +03:00
79adaa11e0
lowmemory: merge
2019-11-05 01:15:31 +03:00
d2740f78c1
wscript: refactoring, add waf_unit_test, disable -Wdouble-promotion, rename fast as fastnative and leave fast without -march=native for x-compiling
2019-11-05 01:01:33 +03:00
1365020302
ref: add enum for screen rotation
2019-11-04 20:27:46 +07:00
aa6674b032
engine: support compiling with gcc3
2019-11-02 08:56:07 +03:00
5e8373fa46
engine: slightly update RefAPI
2019-11-02 08:56:07 +03:00
0dd91ceda2
xash3d-fwgs: append missing new line at the end of file
2019-11-02 08:56:07 +03:00
7f6395fa7d
ref: display transformation API
2019-10-31 01:36:07 +07:00
1decb1c7fb
xash3d-fwgs: append missing new line at the end of file
2019-10-27 22:29:03 +03:00
78baf568ae
engine: more double promotion fixes
2019-10-18 16:46:54 +03:00
1218f4aeb6
ref_gl: explicitly cast literals to floats
2019-10-18 16:46:54 +03:00
49a133514a
ref_gl: fix wrong type
2019-10-18 07:51:11 +03:00
1e7abdc144
wscript: fix ref_gl linking
2019-10-11 04:21:35 +03:00
ae624801ac
wscript: proper default showing in help
2019-10-11 03:46:17 +03:00