26db391576
ADDED: rlActiveDrawBuffers() #1911
...
- ADDED: rlEnableColorBlend()/rlDisableColorBlend()
2021-08-12 20:38:57 +02:00
ce3214b82d
[rlgl] rlUpdateVertexBuffer ( #1914 )
...
* GenMeshTangents Fix
* GenMeshTangents Fix - Comment Update
* GenMeshTangents Fix - Comment Update final
* Code Style Changes
* Code Style Changes Final
* Code Style Changes Final 2
* GenMeshTangents better handling for issue #1876
* GenMeshTangents better handling for issue #1876
* GenMeshTangents: Better fix for issue #1876
* vboId location fix
* rlUpdateVertexBuffer - bufferId is an unsigned int
2021-08-12 09:47:00 +02:00
aa67903f96
Improve rlgl description
2021-07-31 19:58:30 +02:00
5b6d83b533
REVIEWED: rlgl defines for consistency
2021-07-31 19:46:44 +02:00
3e75a2109d
REVIEWED: rlgl module header info
2021-07-31 19:08:13 +02:00
b805754aa1
REVIEWED: Avoid bool type collisions
2021-07-31 18:10:26 +02:00
dffd1435e9
Revert "REVIEWED: Avoid UBSAN warnings #1891 "
...
This reverts commit a8e9e1387f .
2021-07-30 13:50:33 +02:00
a8e9e1387f
REVIEWED: Avoid UBSAN warnings #1891
2021-07-30 13:47:21 +02:00
b4fddf146b
REVIEWED: Added new mechanism to avoid data types collision between modules that share same data types and can be used in standalone mode
2021-07-30 13:44:52 +02:00
aeb1a0da84
REVERTED: Removed the need for rlMatrix
...
Now rlgl uses the `Matrix` type, just make sure it has been previously defined somewhere... I don't like this approach but it's probably the easier one for the users... still looking for a better solution... maybe using something like
`#define MATRIX_TYPE`, so it can be checked in other modules.
2021-07-30 12:54:54 +02:00
bd70a22412
Review some issues
2021-07-30 11:56:14 +02:00
8b7f43f89b
WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-
...
rlgl has been redesigned to avoid any dependency to `raylib` or `raymath`, all functions using some of those libs have been reviewed.
- REMOVED: `Texture2D`, `Shader` structs dependency
- REMOVED: `Vector3`, `Matrix` structs dependency
- REMOVED: raymath functions dependency, all required math is implemented in rlgl
- ADDED: `rlMatrix` custom rlgl type
- ADDED: `utils.c`: `rlMatrixFromMatrix()` and `rlMatrixToMatrix()` for a safe conversion between raylib<->rlgl matrix types
- ADDED: `rl` prefix to all `rlgl` structs
- Other small tweaks here and there
2021-07-29 21:57:50 +02:00
96aadec503
REVIEWED: Info on image loading failure
2021-07-28 19:47:53 +02:00
e9c7ab925f
REVIEWED: rlDrawVertexArrayElements() #1891
2021-07-27 23:35:54 +02:00
5ed814e950
Minor tweaks and comments
2021-07-09 17:36:20 +02:00
4b6e6ce20e
REVIEWED: Improved log info on image/textures laoding
...
ADDED: rlGetPixelFormatName()
2021-06-26 13:07:14 +02:00
e0720a0a55
WARNING: REVIEWED: Default shader uniform names
...
When a shader is loaded, by default, several locations are tried to be set automatically.
2021-06-25 13:35:43 +02:00
d4c03b47ec
REVIEWED: LoadShader() and default locations
...
Reviewed locations descriptions
2021-06-25 00:46:14 +02:00
942657fc7c
Remove Color struct requirement
2021-06-17 00:28:51 +02:00
7bc2e922c9
Review some comments
2021-06-10 17:49:55 +02:00
b0dcdf688f
Reviewed functions description
...
Replaced: Returns -> Get
2021-06-10 17:43:58 +02:00
8980bcfe4b
Added some enum comments
2021-06-10 11:31:34 +02:00
e95d8bc655
Minor format tweaks
2021-06-05 12:33:05 +02:00
71995d52b3
REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796
2021-05-30 18:02:06 +02:00
03710c9d8e
Some code tweaks for consistency
2021-05-22 16:54:04 +02:00
2565c01158
check for vao extension ( #1757 )
2021-05-08 18:24:14 +02:00
ffadeeeb84
Decoupling rlgl from platform layer
...
Now rlgl only depends on OpenGL and it's completely decoupled from platform layer libraries (EGL)
2021-04-28 23:57:46 +02:00
6ebe76cba7
Minor tweaks
2021-04-27 11:05:05 +02:00
0e2845ec26
Review OpenGL 1.1 building #1732
...
It works compiling with MinGW
2021-04-25 13:32:24 +02:00
581bd0eb02
Remove trailing spaces
2021-04-18 23:50:32 +02:00
223091f44c
Review extensions issue on macOS
2021-04-18 20:33:49 +02:00
d4ccca81db
WARNING: REDESIGNED: rlLoadExtensions() #1295
...
Added config flag: SUPPORT_GL_DETAILS_INFO
2021-04-18 20:24:19 +02:00
45823a36eb
Added some OpenGL extensions comments
2021-04-14 21:07:04 +02:00
afb254b985
Update rlgl.h
2021-04-11 00:58:04 +02:00
d2cb628a66
Some defines simplification
2021-04-11 00:55:45 +02:00
6719c3a1cd
REVIEWED: OpenGL 2.1 compilation
2021-04-07 09:39:41 +02:00
68124599e1
Corrected issue on RPI
2021-04-06 21:39:54 +02:00
802ca161d3
REVIEWED: Some rlgl cleaning on unused types
2021-04-06 00:43:38 +02:00
5fd441969d
REVIEWED: rlLoadShaderDefault()
...
Operate over global variable
2021-04-05 13:35:42 +02:00
14aa29d18b
Update rlgl.h
2021-04-04 15:10:39 +02:00
66f3434571
REDESIGNED: Shapes texture/rec moved to shapes module
2021-04-04 14:59:17 +02:00
c21baf0d92
ADDED: GenMeshDefault() #1556
2021-04-02 15:56:35 +02:00
ccdf7ff335
REDESIGN: Move GenTexture*() functions to PBR example #721
...
Removed functions from rlgl module.
2021-04-02 14:29:33 +02:00
67dda62867
REVIEWED: GenTexture*() functions #721
...
Avoid RLGL data dependency to allow moving the functions somewhere else
2021-04-02 14:01:30 +02:00
b54d96205f
Review libc dependency
2021-04-01 21:22:18 +02:00
aed0fee2ca
Remove trailing spaces
2021-04-01 20:24:33 +02:00
cdc3754449
ADDED: Support model normal matrix location #1691
2021-03-31 20:44:16 +02:00
434a3a276d
REVIEWED: Define instancing API entry points for RPI
2021-03-31 18:41:03 +02:00
98a2e16d4d
REVIEWED: RPI instancing checks #1679
2021-03-31 16:44:14 +02:00
aaf0d8b839
REVIEWED: rlgl: Stereo render is working again
...
As a bonus, stereo render is compatible with mesh instancing now!
2021-03-28 21:35:58 +02:00