mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 01:48:44 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
62189a69b8
commit
eaa10899d0
6 changed files with 9 additions and 9 deletions
|
@ -184,7 +184,7 @@ public:
|
||||||
typedef std::vector<CVPInstruction> TProgram;
|
typedef std::vector<CVPInstruction> TProgram;
|
||||||
public:
|
public:
|
||||||
/** Parse a vertex program, and convert to proprietary format.
|
/** Parse a vertex program, and convert to proprietary format.
|
||||||
* It is intended to be use by a driver implementation.
|
* It is intended to be used by a driver implementation.
|
||||||
* \warning: Only syntax is checked. It doesn't check that a register has been initialised before use.
|
* \warning: Only syntax is checked. It doesn't check that a register has been initialised before use.
|
||||||
* \param src The input text of a vertex program, in OpenGL format.
|
* \param src The input text of a vertex program, in OpenGL format.
|
||||||
* \param result The result program.
|
* \param result The result program.
|
||||||
|
|
|
@ -2425,7 +2425,7 @@ bool CDriverGL::getAdapter(uint adapter, CAdapter &desc) const
|
||||||
desc.Driver = (const char *) glGetString (GL_VERSION);
|
desc.Driver = (const char *) glGetString (GL_VERSION);
|
||||||
desc.Vendor= (const char *) glGetString (GL_VENDOR);
|
desc.Vendor= (const char *) glGetString (GL_VENDOR);
|
||||||
|
|
||||||
desc.Description = "Default openGL adapter";
|
desc.Description = "Default OpenGL adapter";
|
||||||
desc.DeviceId = 0;
|
desc.DeviceId = 0;
|
||||||
desc.DriverVersion = 0;
|
desc.DriverVersion = 0;
|
||||||
desc.Revision = 0;
|
desc.Revision = 0;
|
||||||
|
|
|
@ -883,7 +883,6 @@ void CDriverGL::setupGlArraysStd(CVertexBufferInfo &vb)
|
||||||
case CVertexBufferInfo::HwNVIDIA:
|
case CVertexBufferInfo::HwNVIDIA:
|
||||||
case CVertexBufferInfo::HwARB:
|
case CVertexBufferInfo::HwARB:
|
||||||
{
|
{
|
||||||
|
|
||||||
// setup vertex ptr.
|
// setup vertex ptr.
|
||||||
//-----------
|
//-----------
|
||||||
uint numVertexCoord = CVertexBuffer::NumComponentsType[vb.Type[CVertexBuffer::Position]];
|
uint numVertexCoord = CVertexBuffer::NumComponentsType[vb.Type[CVertexBuffer::Position]];
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include "nel/net/callback_client.h"
|
#include "nel/net/callback_client.h"
|
||||||
#include "nel/net/net_log.h"
|
#include "nel/net/net_log.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_MESSAGE_RECORDER
|
#ifdef USE_MESSAGE_RECORDER
|
||||||
#include "nel/net/message_recorder.h"
|
#include "nel/net/message_recorder.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue