SFML mainline mirror
Go to file
Guillaume Bertholon 1f21e5497b Control GL_FRAMEBUFFER_SRGB flag in RenderTarget
This fixes wrong rendering for RenderTexture that need sRGB encoding along a
non-sRGB window.
We cannot simply always enable GL_FRAMEBUFFER_SRGB because some drivers
enable sRGB encoding on non-sRGB window surfaces.
Also add a isSrgb() method to tell if a RenderTarget is encoding into
sRGB color space.
2021-05-11 16:52:55 +02:00
.github Change GitHub Actions failure mode 2021-02-19 20:48:28 +01:00
cmake Fix configuration conflicts with Clang 2021-05-10 12:20:48 +02:00
doc Remove link in documentation main page 2020-05-27 01:12:50 +02:00
examples Switch example resources to public domain ones. 2021-04-02 22:16:22 +02:00
extlibs Updated glad loader to OpenGL 4.6 Compatibility Profile as base and added version support defines to GLExtensions.hpp. 2021-03-28 19:26:16 +02:00
include/SFML Control GL_FRAMEBUFFER_SRGB flag in RenderTarget 2021-05-11 16:52:55 +02:00
src/SFML Control GL_FRAMEBUFFER_SRGB flag in RenderTarget 2021-05-11 16:52:55 +02:00
test Renamed test targets to test-sfml-module structure 2019-02-19 10:16:38 +01:00
tools windows: add resource.rc files to dll builds 2021-04-11 16:02:51 +02:00
.editorconfig Added an .editorconfig file 2015-02-06 11:07:39 +01:00
.gitattributes Added a FLAC file to the Sound example to cover all three supported formats. 2015-03-28 22:49:46 +01:00
changelog.md Updated the changelog and version number for 2.5.1 2018-10-15 21:52:40 +02:00
CMakeLists.txt Fix configuration conflicts with Clang 2021-05-10 12:20:48 +02:00
CONTRIBUTING.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
license.md Update the copyright year to 2021 2021-01-06 20:21:36 +01:00
readme.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00

SFML logo

SFML — Simple and Fast Multimedia Library

SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.

Authors

Download

You can get the latest official release on SFML's website. You can also get the current development version from the Git repository.

Install

Follow the instructions of the tutorials, there is one for each platform/compiler that SFML supports.

Learn

There are several places to learn SFML:

Contribute

SFML is an open-source project, and it needs your help to go on growing and improving. If you want to get involved and suggest some additional features, file a bug report or submit a patch, please have a look at the contribution guidelines.