summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
AgeCommit message (Collapse)Author
2024-07-11Replace `glGetInteger64v` with `glGetBufferParameteri64v` (#4154)Kai Kitagawa-Jones
2024-07-04Update rlgl.hRay
2024-06-30REVIEWED: Formatting, follow raylib coding conventionsRay
2024-06-24Minor tweaksRay
2024-06-24[Build] Fix warnings when building in VS 2022 (#4095)Jeffery Myers
* Update raylib_api.* by CI * Fix warnings when building examples in MSVC 2022 * fix auto-format that sneaked in there. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-12Update rlgl.h (#4059)TokyoSU
- The function rlGetMatrixProjectionStereo and rlGetMatrixViewOffsetStereo have RLAPI for the function declaration and cause error when compiling using RLGL_IMPLEMENTATION.
2024-06-06[rlgl] Rename near, far variables (#4039)jgabaut
2024-05-12Reviewed input params #3974Ray
2024-05-05[rlgl] Fix incorrect matrix multiplication order in `rlMultMatrixf` (#3935)bohonghuang
2024-05-01Default shader attrib locations need to be exposedRay
They need to be exposed on `rlgl.h` header section (not implementation section) because with some specific use cases (custom config.h, rmodels module enabled), building fails otherwise.
2024-04-23Review formattingRay
2024-04-23Add rlCullDistance variables/getters and rlSetClipPlanes function (#3912)KotzaBoss
The `RL_CULL_DISTANCE_` definition remains as the initial value of the variables. Basic usage can be: ```c #include <raylib.h> #include <rlgl.h> rlSetClipPlanes(RL_CULL_DISTANCE_NEAR, MY_CULL_DISTANCE_FAR); if (must_reset_clip_planes) rlSetClipPlanes(RL_CULL_DISTANCE_NEAR, RL_CULL_DISTANCE_FAR); ```
2024-04-23[rlgl] Implement vertex normals for RLGL immediate drawing mode (#3866)bohonghuang
* Fix several non-functional `target_compile_definitions` * Avoid hardcoding the default vertex attribute locations * Implement functional `rlNormal3f` * Add normal definitions for `DrawCube` * Update the basic lighting example to use `DrawCube` and `DrawPlane`
2024-04-20REVIEWED: `rlSetVertexAttribute()`, define last parameter as offset #3800Ray
2024-04-13Changed RLGL_VERSION from "4.5" to "5.0 (#3914)Mute
Line 110 of file rlgl.h is the one in question.
2024-04-02Remove trailing spacesRay
2024-03-18Fix #3876 and also `rlgl` review on #3783Ray
2024-03-18Fix #3876 and also `rlgl` review on #3783Ray
2024-02-18Remove some unneeded line breaksRay
2024-02-04REVIEWED: `rlLoadFramebuffer()`, parameters not requiredRay
2024-02-01REVIEWED: Issue on parsing #3765Ray
2024-01-29Review PR #3746 formatingRay
2024-01-29[CORE,RLGL] Fix scale issues when ending a mode (#3746)Jeffery Myers
* Only restore GL scale back to screen scale if we are returning to a screen, not a render texture. * blankspace * reset back to default screen scale when ending a render texture since we are back on the default fbo
2024-01-28Fix rlSetUniformSampler (#3759)veins1
Fix rlSetUniformSampler not setting sampler uniform if the same texture was already passed to a different sampler uniform
2024-01-22fixed small typo, replaced `th` with `the` (#3752)Brian E
2024-01-02Update copyright to 2024Ray
2023-12-20Update rlgl.hRay
2023-12-20REVIEWED PR deferred renderRay
2023-12-20fix for deferred rendering example. (#3655)Jett
* fix for deferred rendering example. * missed defines to build.
2023-11-30Expose OpenGL take 2 (#3588)Peter0x44
For some reason, there are actually two macros needed to control this. Yes, I tried with only one, both are needed
2023-11-30Fix mistake in pr #3572 (#3587)Peter0x44
2023-11-30REVIEWED: rlgl function description and commentsRay
2023-11-28Hide unneeded internal symbols when building raylib as an so or dylib (#3573)Peter0x44
2023-11-24Expose glad functions when building raylib as a shared lib (#3572)Peter0x44
2023-11-21Fix version info in rlgl.h (#3558)Steven Schveighoffer
2023-11-12[rlgl] Fixed return type of `GetCompressedFormatName` (#3529)Le Juez Victor
The return type of `GetCompressedFormatName` has been corrected from `char *` to `const char *`
2023-11-10Update rlgl.hRay
2023-11-02Support OpenGL ES 3.0 building on WebRay
For some reason, the equivalent requested context (WebGL 2.0) is not provided, despite being properly requested.
2023-11-02REVIEWED: Pointers exposing not required for ES3Ray
2023-11-01REVIEWED: Potential code issues reported by CodeQL #3476Ray
2023-10-31ADDED: `rlBlitFramebuffer()`, required for deferred renderRay
2023-10-31Remove trailing spacesRay
2023-10-31Added rlEnablePointMode (#3490)Jett
for rendering meshes with points. similar to wire mode. (NOTE) they still backface cull, so disable that if you want to show the entire mesh.
2023-10-26Fix missing `PLATFORM_DESKTOP_SDL` checks. (#3469)2Bear
2023-10-19REVIEWED: `rlLoadTexture()` #3440Ray
2023-10-08Format tweaksRay
2023-09-26Remove trail spacesRay
2023-09-22REVIEWED: `glInternalFormat` is unsigned and actually, ↵Ray
`rlGetGlTextureFormats()` returns 0 if fails
2023-09-20Added note about WebGL warningRay
2023-09-18Reviewed PR #3321Ray