d0166c9d45
Spacing tweaks
2018-06-30 21:56:26 +02:00
0148432588
fabsf() not working with TCC
...
Replaced by fabs() that seem to work ok
2018-05-28 00:48:45 +02:00
ca69068814
Added function: rlCheckBufferLimit()
2018-05-20 01:55:46 +02:00
3b70b66a08
Love OpenGL gotchas... make my life more enjoyable!
2018-05-20 00:41:12 +02:00
24adca4ad0
Manual mipmap generation review
...
On OpenGL 1.1 only is supported for 32bit RGBA textures
2018-05-20 00:39:56 +02:00
6045062a05
Renamed some functions
...
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
2018-05-04 16:54:05 +02:00
1841afad11
Refactor all #define SUPPORT_* into a config.h
...
That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.
Later on, config.h can also define the raylib version (#461 ).
2018-04-07 23:37:48 +02:00
3e0de31424
Merge pull request #504 from Martinfx/master
...
Fix potential bugs from static analysis
2018-04-02 18:10:38 +02:00
375adf86a6
Review math usage to reduce temp variables
2018-04-02 15:16:45 +02:00
db98dba10f
Fix Allocator sizeof operand mismatch
2018-04-02 13:30:20 +02:00
61e0e4b4f3
Complete review of raymath for API consistency
2018-03-16 13:47:01 +01:00
077bef4286
Support 4 components mesh.tangent data
...
Added struct Vector4 for convenience
2018-02-24 12:31:32 +01:00
326fe09777
Reviewed compilation for OpenGL 1.1
2018-02-21 23:47:48 +01:00
4d5d1e0434
Added function LoadShaderCode()
...
Allows loading of shader from text code string directly
2018-02-05 01:03:13 +01:00
03ee03e2a6
#include header for glInsertEventMarkerEXT on macOS
2018-01-25 23:00:07 +01:00
2dcaddc81c
Review mipmaps generation issue
...
When changing image format, mipmaps are lost and regenerated from
scratch
2018-01-23 13:23:34 +01:00
04af83ff99
Improved pixel formats support
...
Review rlLoadTexture() function to make it simpler, now OpenGL texture
glInternalFormat, glFormat and glType are retrieved with new function
GetGlFormats()
2018-01-22 00:20:42 +01:00
8e0a277f7c
Reviewed UWP branch integration
2018-01-19 12:02:15 +01:00
750323da53
Merge branch 'develop' into testing_uwp
2018-01-19 11:41:51 +01:00
727cb1819b
Reviewed VS2015 projects
...
- Support OpenGL 1.1 if selected macro
- Corrected MSVC compiler issues with (void *) data
- Removed raylib.dll project
- Created DEBUG_DLL and RELEASE_DLL configurations
2018-01-17 14:21:23 +01:00
dd3b3dbadb
Redesigned rlLoadTexture()
...
- Added support for mipmap levels loading
- Removed internal function LoadTextureCompressed(), not required any
more...
2018-01-16 00:00:05 +01:00
c37d2d448d
Corrected issue with matrices
...
Matrix stack system should be reviewed but, in the meantime,
currentMatrix should be reseted in order of 3d to work
2018-01-08 01:03:04 +01:00
4dcc02ff1e
Launch draw call if buffer limits reached
...
Note that this solution is a temporal patch, not properly tested and
prone to fail, specially if matrix are pushed into the stack...
2018-01-07 23:54:11 +01:00
b97134c3e1
Review float pixel format textures support
2018-01-06 18:17:38 +01:00
7caa3201d5
Improved pixel formats support
...
- Renamed enum TextureFormat to PixelFormat for consistency
- Added support for pixel format UNCOMPRESSED_R32
- Using GetPixelDataSize() where required
2018-01-06 13:43:48 +01:00
e7cf03b1e4
Minor tweaks
2017-12-28 19:27:02 +01:00
b19e155b34
Support UNCOMPRESSED_R32G32B32A32 texture format
2017-12-28 17:58:37 +01:00
e8bb53ed35
Corrected issue on OpenGL ES compilation
2017-12-20 12:35:12 +01:00
53ad53d051
Manually review previous PR
2017-12-15 13:44:31 +01:00
217917530b
fix for eventmarker missed in first cl
2017-12-14 11:51:17 +01:00
07b522c113
make matrix stack work closer to old opengl implementation
2017-12-14 11:46:38 +01:00
0e18b14605
added debug-event-markers for opengl so that you're able to set markers for renderdoc or other gpu debuggers what your program is currently doing
2017-12-14 11:44:48 +01:00
963551ee6e
added possibility to get modelview matrix from rlgl to be able to send it to shaders
2017-12-14 11:43:06 +01:00
2388cbc3cd
Corrected crash on shader loading
...
If shader file could not be found on loading it crashed, instead added
fallback to default shader!
2017-12-13 20:10:13 +01:00
25ceec9b8f
Corrected default textures locations
...
By default, we look for texture1 for LOC_MAP_SPECULAR and texture2 for
LOC_MAP_NORMAL
2017-11-22 14:56:45 +01:00
02dd4d32b5
Allow custom distortion shader - IN PROGRESS -
2017-11-12 11:00:28 +01:00
09228752ce
Review default shaders usage on loading
2017-11-12 10:33:44 +01:00
b6b58991e6
Working on UWP support
...
Support Universal Windows Platform (UWP):
- Windows 10 App
- Windows Phone
- Xbox One
2017-11-10 12:37:53 +01:00
7ef604fbf5
Store the default shaders
2017-11-09 20:47:22 +01:00
2f024dbfef
Corrected possible issue on FBO creation
...
USE_DEPTH_RENDERBUFFER on OpenGL 2.1
2017-11-06 13:58:11 +01:00
81518ccd13
Corrected issue with shader locations init
...
On RPI, after latest drivers update, models were not rendered properly
cause of that...
2017-11-06 13:41:13 +01:00
879c2f484b
SetShaderValue take const pointer
2017-11-05 21:57:29 +01:00
aa6a1b4283
Corrected issue with missing defines
2017-11-05 09:58:25 +01:00
d43af4918b
Improve textures support for OpenGL 2.1
2017-11-04 16:57:46 +01:00
415e7e972c
Review some issues, view description
...
- Review RPI compilation (core_drop_files not supported)
- Review ImageFormat(), some issues
- GetTextureData() reviewed for RPI
2017-10-30 13:51:46 +01:00
ab01cd45bc
Review rlReadTexturePixels()
...
Improve second option to retrieve texture data from fbo...
Still requires some testing...
2017-10-25 12:46:26 +02:00
31c8c86d8e
Comment tweak...
...
...while reviewing GetTextureData() functionality on OpenGL ES 2.0
2017-10-25 12:33:44 +02:00
7057d08369
Review VR functionality
...
To be more generic and configurable
2017-10-17 13:32:15 +02:00
412c52499a
Reverted change that breaks 3D drawing
...
It should be reviewed more carefully...
2017-10-04 12:13:32 +02:00
ddea9d68bf
Review VR simulator
...
Requires some work, distortion shader could be move out of raylib to
example code...
2017-10-04 12:11:40 +02:00