Commit Graph

7 Commits

Author SHA1 Message Date
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
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
Alibek Omarov 8320f0598f Merge 4529 update 2019-07-02 23:44:42 +03:00
Alibek Omarov 228dab5965 ref_gl: move GLES and GL_STATIC defintions to gl_export.h. Add REF_GL_KEEP_MANGLED_FUNCTIONS, to keep use pgl instead of re-defining everything to gl. Used in conjuction with GL_STATIC 2019-04-13 19:39:22 +03:00
Alibek Omarov ea6a86a83d ref_gl: bring back GL_STATIC option 2019-03-30 03:08:44 +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