Commit Graph

19 Commits

Author SHA1 Message Date
Alibek Omarov 4f89288ccf common: cleanup port.h 2021-12-23 19:17:11 +03:00
Alexey 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
Andrey Akhmichin e3b547c8a9 public: rename mathlib to xash3d_mathlib. 2020-02-12 14:32:26 +05:00
Alibek Omarov 1218f4aeb6 ref_gl: explicitly cast literals to floats 2019-10-18 16:46:54 +03:00
Alibek Omarov d992f8525b ref_gl: enable VBO for GLES targets, slightly refactor extensions checking, fix UB when initializing glwes 2019-08-08 05:53:34 +03:00
Alibek Omarov 8f9800eb3c ref: move R_DrawTree from refdll to engine, implement using ref's triapi 2019-07-27 13:27:40 +03:00
Alibek Omarov f2c927906f Merge 4511 update 2019-06-17 07:36:46 +03:00
Alibek Omarov ea6a86a83d ref_gl: bring back GL_STATIC option 2019-03-30 03:08:44 +03:00
Alibek Omarov 92b89936b3 ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs 2019-03-22 16:36:46 +03:00
mittorn 4247af8fa8 Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone 2019-03-16 11:18:43 +07:00
Alibek Omarov 971f9b6de5 ref: fix compiling errors 2019-03-16 04:24:27 +03:00
Alibek Omarov 234507b7f1 ref: fix all undefined references 2019-03-11 17:37:58 +03:00
Alibek Omarov d0d5fd1a3f ref: fix some undefined references, compile-in mathlib and crtlib to refdll 2019-03-06 17:14:25 +03:00
Alibek Omarov e7234bada2 ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals 2019-03-06 16:23:33 +03:00
mittorn 437ba6d7a2 ref:Fix some clgame, world and renderapi usages, import renderapi funcs from engine 2019-02-27 06:23:03 +07:00
Alibek Omarov 574f03c139 ref: initial engine to ref API draft, not compiling, work in progress [ci skip] 2019-02-24 18:45:44 +03:00
Alibek Omarov e193ac2c04 ref: more @mittorn's changes on RefAPI 2019-02-23 21:49:46 +03:00
Alibek Omarov 99bd7c81da ref: render code moved out of engine, doesn't compile, first API prototype 2019-02-18 21:25:26 +03:00