ported PrtView plugin
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@40 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -105,7 +105,7 @@ bool read_var (const char *filename, const char *section, const char *key, char
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool save_var (const char *filename, const char *section, const char *key, const char *value)
|
||||
bool save_var (const char *filename, const char *section, const char *key, const char *value)
|
||||
{
|
||||
char line[1024], *ptr;
|
||||
MemStream old_rc;
|
||||
|
||||
@@ -44,5 +44,6 @@ float profile_load_float (const char *filename, const char *section, const char
|
||||
char* profile_load_string (const char *filename, const char *section, const char *key, const char *default_value);
|
||||
// used in the command map code
|
||||
bool read_var (const char *filename, const char *section, const char *key, char *value);
|
||||
bool save_var (const char *filename, const char *section, const char *key, const char *value);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1045,7 +1045,7 @@ public:
|
||||
glDrawElements(m_mode, GLsizei(m_indices.size()), RenderIndexTypeID, m_indices.data());
|
||||
#else
|
||||
glBegin(m_mode);
|
||||
if(state & RENDER_COLOUR != 0)
|
||||
if(state & RENDER_COLOURARRAY != 0)
|
||||
{
|
||||
for(std::size_t i = 0; i < m_indices.size(); ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user