Chromium Code Reviews| Index: core/cross/stream_bank.cc |
| =================================================================== |
| --- core/cross/stream_bank.cc (revision 19848) |
| +++ core/cross/stream_bank.cc (working copy) |
| @@ -89,6 +89,9 @@ |
| O3D_ERROR(service_locator()) << "No buffer on field"; |
| return false; |
| } |
| + |
| + // Check that this buffer is renderable. StreamBanks are used to submit |
| + // data to GPU so we can only allow GPU accessable buffers through here. |
|
apatrick
2009/07/07 00:58:25
accessable -> accessible
|
| if (!buffer->IsA(VertexBuffer::GetApparentClass())) { |
| O3D_ERROR(service_locator()) << "Buffer is not a VertexBuffer"; |
| return false; |