[Bug 49817] radeon: The kernel rejected CS when running shader example from SFML library
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 6 04:44:24 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=49817
--- Comment #2 from Cédric Legrand <legrand.cedric.01 at gmail.com> 2012-06-06 11:44:24 UTC ---
Here is a piece of C++ code which may help in solving the bug :
///////////////////////////////////////////////////////////
////////////
Class Game :
////////////
Game::Game() : renderWindow(sf::VideoMode(800,600),"")
...
void Game::inGame()
{
...
testMap.createRender(this);
...
}
void Game::showSprite(sf::Sprite& sprite)
{
renderWindow.draw(sprite);
}
///////////
Class Map :
///////////
void Map::createRender(Game* parent)
{
...
parent->showSprite(tilesFiles[nbTileset]); //tilesFiles is an sfml sprite
...
}
///////////////////////////////////////////////////////////
With this code, the same garbage and errors happen.
//// I'm sorry for my english ////
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the dri-devel
mailing list