[Bug 49817] radeon: The kernel rejected CS when running shader example from SFML library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugs.freedesktop.org/show_bug.cgi?id=49817

--- Comment #2 from Cédric Legrand <legrand.cedric.01@xxxxxxxxx> 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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux