update rlgl.h
This commit is contained in:
parent
281bff77b3
commit
1820586d1f
|
|
@ -149,7 +149,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Security check in case no GRAPHICS_API_OPENGL_* defined
|
// Security check in case no GRAPHICS_API_OPENGL_* defined
|
||||||
#if !defined(GRAPHICS_API_OPENGL_11) && \
|
#if !defined(GRAPHICS_API_OPENGL_11_SOFTWARE) && \
|
||||||
|
!defined(GRAPHICS_API_OPENGL_11) && \
|
||||||
!defined(GRAPHICS_API_OPENGL_21) && \
|
!defined(GRAPHICS_API_OPENGL_21) && \
|
||||||
!defined(GRAPHICS_API_OPENGL_33) && \
|
!defined(GRAPHICS_API_OPENGL_33) && \
|
||||||
!defined(GRAPHICS_API_OPENGL_43) && \
|
!defined(GRAPHICS_API_OPENGL_43) && \
|
||||||
|
|
@ -3705,6 +3706,7 @@ void rlCopyFramebuffer(int x, int y, int w, int h, int format, void* pixels)
|
||||||
rlGetGlTextureFormats(format, &glInternalFormat, &glFormat, &glType);
|
rlGetGlTextureFormats(format, &glInternalFormat, &glFormat, &glType);
|
||||||
swCopyFramebuffer(x, y, w, h, glFormat, glType, pixels);
|
swCopyFramebuffer(x, y, w, h, glFormat, glType, pixels);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rlResizeFramebuffer(int width, int height)
|
void rlResizeFramebuffer(int width, int height)
|
||||||
{
|
{
|
||||||
swResizeFramebuffer(width, height);
|
swResizeFramebuffer(width, height);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user