Alibek Omarov
7bcfce5a7a
ref_gl: use GCC provided offsetof implementation
3 years ago
Alibek Omarov
588dede2a2
ref_soft: fix pointer-to-int casts
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
Velaron
4f31d7504a
ref_api: fix remap info allocation ( fixes #200 )
4 years ago
Alibek Omarov
586d613a27
ref_soft: uncomment texture API functions implementations, they must be working now
...
Fixes #326 and probably some ref_soft crashes
4 years ago
Alibek Omarov
45334064b6
ref_gl: remove detail textures list generation leftovers
4 years ago
Alibek Omarov
58edfbc485
engine: move cvars that expected to exist by client.dll from render dll to engine
...
Fixes #316
4 years ago
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:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
63d8794902
ref_soft: r_image.c: remove duplicated Q_strlen() call.
4 years ago
mittorn
ce269f8c6d
ref_soft/glblit: fix wrong MapBuffer function in GLES3
4 years ago
mittorn
d9290f2e03
gles1 and non-pbo fallbacks
4 years ago
Alibek Omarov
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
5 years ago
Alibek Omarov
9292d81052
ref_soft: remove leftover debug volatile
5 years ago
FOTMarut
e1985eeb4f
ref_soft: de-duplicated symbols
...
- Compiles correctly with GCC 10 now
5 years ago
Alibek Omarov
32f6f359a4
ref_soft: comment out useless line
5 years ago
Alibek Omarov
0428de6285
ref_soft: check if offsetof was defined before
5 years ago
Alibek Omarov
8fcfde1e42
ref_soft: comment out useless code to make compiler happy about uninitialized variables
5 years ago