1291
General / Compiz Fusion is bugging me...
« on: April 06, 2009, 10:52:37 pm »
I have an integrated Intel too. Don't know the exact model though. It could be that. Intel is known to NOT be good with OpenGL.
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.
class SignalSender {
private:
std::multimap<std::string, SignalReciver *> subscribers;
std::queue<SignalBase> signalQueue;
protected:
void SendToObjects(const SignalBase& signal, const std::string& currentNamespace);
SignalBase ConvertSFMLToSignal(const sf::Event& event, sf::Window * window);
public:
SignalSender();
void SubscribeReciver(SignalReciver * reciver, const std::string& type);
void SubscribeReciver(SignalReciver * reciver, const SignalBase& type);
bool IsReciverSubscribed(SignalReciver * reciver, const std::string& type);
void AddSignal(const SignalBase& signal);
void SendSignals();
void FetchEventsFromWindow(sf::Window * window);
};
void SignalSender::AddSignal(const SignalBase& signal) {
this->signalQueue.push(signal);
}
Quote from: "Wizzard"It seems as if the destructor of your image is being called after the OpenGL context has been deleted.
Make sure your sf::Image instance does not exceed the lifetime of your sf::RenderWindow instance.
This shouldn't be a problem with SFML, the lifetime of resources is not tied to the window, even if they depend on an OpenGL context.
sf::Image img;
img.LoadFromFile("image.png");
Runtime Error!
Program: {Path to application}
R6025
- pure virtual function call
Can't you just use a sprite with different scale?
How about image resizing? That would be really helpful to me :p