~smspillaz/nux/nux.3.0.fix_1036521

« back to all changes in this revision

Viewing changes to NuxGraphics/GpuDeviceVertex.cpp

  • Committer: Tarmac
  • Author(s): Michi Henning
  • Date: 2012-09-19 05:49:02 UTC
  • mfrom: (653.1.1 nux3)
  • Revision ID: tarmac-20120919054902-6ybzkc4qpkbv5cka
Partial fix. Remaining warnings to be fixed for 4.0 series.. Fixes: https://bugs.launchpad.net/bugs/1032313. Approved by Tim Penhey.

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
        vtxelement.Type,
161
161
        GL_FALSE,
162
162
        vtxelement.stride_,
163
 
        (void*)vtxelement.Offset));
 
163
        (void*)vtxelement.Offset)); // TODO: Bug. It doesn't make sense to convert a 4-byte int into an 8-byte pointer.
164
164
 
165
165
      VertexDeclaration->_valid_vertex_input[shader_attribute_location] = 1;
166
166
      ++decl;