mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-05 06:40:09 +00:00
more clean up
This commit is contained in:
parent
321d385a5d
commit
465914c77c
@ -2,7 +2,6 @@
|
|||||||
#include "pagedworldspacewidget.hpp"
|
#include "pagedworldspacewidget.hpp"
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
#include <OgreCamera.h>
|
#include <OgreCamera.h>
|
||||||
#include <OgreTextureManager.h>
|
#include <OgreTextureManager.h>
|
||||||
@ -114,8 +113,6 @@ bool CSVRender::PagedWorldspaceWidget::adjustCells()
|
|||||||
pixelBuffer->lock(Ogre::HardwareBuffer::HBL_DISCARD);
|
pixelBuffer->lock(Ogre::HardwareBuffer::HBL_DISCARD);
|
||||||
const Ogre::PixelBox& pixBox = pixelBuffer->getCurrentLock();
|
const Ogre::PixelBox& pixBox = pixelBuffer->getCurrentLock();
|
||||||
|
|
||||||
std::cout << texture->getWidth() << texture->getHeight();
|
|
||||||
|
|
||||||
Ogre::uint8* pDest = static_cast<Ogre::uint8*>(pixBox.data);
|
Ogre::uint8* pDest = static_cast<Ogre::uint8*>(pixBox.data);
|
||||||
for (size_t i = 0, width = texture->getWidth(); i < width; ++i)
|
for (size_t i = 0, width = texture->getWidth(); i < width; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user