Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - solgar

Pages: [1]
1
Graphics / Issue with creating sf::Image
« on: February 01, 2010, 08:24:36 pm »
Following code: http://ideone.com/IqTCnnpr produces following error:
Quote
Failed to create image, its internal size is too high (319x94)

First image is loaded and drawn perfectly. Loading second prints this error and is not drawn at all. This code http://ideone.com/wqYJVndB works perfectly. In second listing window is created before images. Issue occurs on Linux. On Windows there is no difference between those two code listings. My OS is Linux Mint 8 and SFML version is 1.5. Quite strange... is this SFML issue?

2
General discussions / Hidden SFML functionality
« on: December 03, 2009, 07:01:30 pm »
Hi. I just discovered hidden SFML functionality. I dont know what is going on but i will investigate this ;). .

3
Feature requests / Shape compile method
« on: November 25, 2009, 12:18:56 am »
Laurent, have you ever consider Shape::Compile() method to be public instead of private? I think, that Shape Compile() method should be public rather than private. If someone create his own shape it can be compiled only at render time. I think that user should have possibility to compile shape by himself. Plus in Java binding when I create predefined shapes I have to rewrite these static methods because those return object instead of pointer and these Shapes are not compiled (I cannot rewrite compile method because this method operate on private myPoints) - so there is difference between Java and C++ Shapes. I know that this is minor issue, but what do you think about it?

4
Window / [SFML2] Minor header issue
« on: November 22, 2009, 12:25:45 am »
There is no:
Code: [Select]
#include <SFML/Window/ContextSettings.hpp>
in SFML/Window.hpp header file. Is this for purpose? I think that this is against SFML include policy ;).

5
Window / [SFML2] sf::Window create close memory issue
« on: November 21, 2009, 03:41:50 pm »
Running following code constantly consumes RAM. Running for 1 minute consumes ~10 mb of memory.

Code: [Select]
#include <SFML/Window.hpp>

using namespace std;

int main()
{
    sf::Window* wnd = new sf::Window(sf::VideoMode(800, 600, 32), "SFML_test", sf::Style::Close|sf::Style::Titlebar|sf::Style::Resize, sf::ContextSettings(32, 8, 0));
    while( wnd->IsOpened() )
    {
        wnd->Display();
        wnd->Close();
        wnd->Create(sf::VideoMode(800, 600, 32), "SFML_test", sf::Style::Close|sf::Style::Titlebar|sf::Style::Resize, sf::ContextSettings(32,8,0));
    }
return 0;
}


Why is that? Code seems to be valid usage of Close() and Create() methods. I am using Xubuntu linux.

Pages: [1]