Skip to content

Instantly share code, notes, and snippets.

Analyzing build trace from 'out.bin'...
**** Time summary:
Compilation (94 times):
Parsing (frontend): 360.0 s
Codegen & opts (backend): 81.0 s
**** Files that took longest to parse (compiler frontend):
9161 ms: .//tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.obj
9097 ms: .//tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.obj
8787 ms: .//tests/CMakeFiles/test-conversions_cpp14.dir/src/unit-conversions.cpp.obj
int main()
{
//
//
// Setup globals and hidden shared OpenGL context (for resource sharing)
// (uses `SDL_GLContext` internally)
auto graphicsContext = sf::GraphicsContext::create().value();
sf::priv::GlContext& sharedCtxPtr = sf::WindowContext::getSharedGlContextPtr();
//
// Compile on MSYS2 with:
// gcc ./fboBug.c -lSDL3 -lopengl32
#include <SDL3/SDL.h>
#include <SDL3/SDL_opengl.h>
#include <assert.h>
#include <stdio.h>
#define glCheck(...) \
#include <benchmark/benchmark.h>
#include <cstdint>
enum class EDS_ScreenHuggingIconCorner : uint8_t
{
TopLeft,
TopRight,
BottomLeft,
BottomRight,
#pragma once
// LICENSE AND COPYRIGHT (C) INFORMATION
// https://github.com/vittorioromeo/VRSFML/blob/master/license.md
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include "SFML/System/Clock.hpp"
#include "SFML/System/Time.hpp"