~tatokis/unity/gcc-72-errors

« back to all changes in this revision

Viewing changes to unity-shared/GraphicsUtils.h

  • Committer: Andrea Azzarone
  • Date: 2013-04-12 18:38:55 UTC
  • mto: (3248.3.12 unity.fix_1080947)
  • mto: This revision was merged to the branch mainline in revision 3299.
  • Revision ID: azzaronea@gmail.com-20130412183855-xqdz91vwydw71igt
Pass shared ptr by const reference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
namespace graphics
28
28
{
29
29
 
30
 
void PushOffscreenRenderTarget(nux::ObjectPtr<nux::IOpenGLBaseTexture> texture);
 
30
void PushOffscreenRenderTarget(nux::ObjectPtr<nux::IOpenGLBaseTexture> const& texture);
31
31
void PopOffscreenRenderTarget();
32
32
 
33
33
void ClearGeometry(nux::Geometry const& geo, nux::Color const& color = nux::Color(0.0f, 0.0f, 0.0f, 0.0f));