commit x64 compilation from lulu cause the other branch dont seems to compile properly at home
This commit is contained in:
22
include/engine/core/render_data.cpp
Normal file
22
include/engine/core/render_data.cpp
Normal file
@ -0,0 +1,22 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#include "core/render_data.h"
|
||||
#include "picture/pict.h"
|
||||
#include "log/log.h"
|
||||
|
||||
using namespace GS;
|
||||
using namespace GS::Render;
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
bool Texture::Create(const Picture &p, Usage usage)
|
||||
{
|
||||
__LOG_V__ << "Creating texture '" << p.name << "'.\n";
|
||||
name = p.name;
|
||||
return Create((const char *)p.GetData(), p.GetWidth(), p.GetHeight(), FormatRGBA8, NoAA, usage);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user