Skip to content

Instantly share code, notes, and snippets.

@binary1248
binary1248 / PacketTest.cpp
Created October 3, 2014 17:53
SFML sf::Packet test
#include <SFML/Network.hpp>
#include <random>
#include <string>
#include <cstdint>
#include <iostream>
struct uniform_bool_distribution
{
public:
typedef bool result_type;
@binary1248
binary1248 / PacketTest
Created October 3, 2014 17:53
SFML sf::Packet test
#include <SFML/Network.hpp>
#include <random>
#include <string>
#include <cstdint>
#include <iostream>
struct uniform_bool_distribution
{
public:
typedef bool result_type;
////////////////////////////////////////////////////////////////////////////////
// README
//
// This is a test program ment to display a DPI scaling bug in SFML that can be
// found by running on windows 8.1, surface pro 2, 256gb.
//
// Without compatibility settings set, the window appears larger than it should
// and on fullscreen mode the rectangle appears incorrectly positioned and
// sized.
//