mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
GCS: Remove some unnecessary debug messages.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@924 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
27dde0d3af
commit
612a1c4e95
@ -46,7 +46,7 @@ GLC_Shader::GLC_Shader()
|
||||
, m_ProgramShader(0)
|
||||
, m_Name("Empty Shader")
|
||||
{
|
||||
qDebug() << "Create Shader";
|
||||
//qDebug() << "Create Shader";
|
||||
}
|
||||
|
||||
// Construct shader with specifie vertex and fragment
|
||||
@ -58,7 +58,7 @@ GLC_Shader::GLC_Shader(QFile& vertex, QFile& fragment)
|
||||
, m_ProgramShader(0)
|
||||
, m_Name()
|
||||
{
|
||||
qDebug() << "Create Shader";
|
||||
//qDebug() << "Create Shader";
|
||||
setVertexAndFragmentShader(vertex, fragment);
|
||||
}
|
||||
|
||||
@ -71,7 +71,7 @@ GLC_Shader::GLC_Shader(const GLC_Shader& shader)
|
||||
, m_ProgramShader(0)
|
||||
, m_Name(shader.m_Name)
|
||||
{
|
||||
qDebug() << "Create Shader";
|
||||
//qDebug() << "Create Shader";
|
||||
if (0 != shader.m_ProgramShader)
|
||||
{
|
||||
createAndCompileProgrammShader();
|
||||
@ -80,7 +80,7 @@ GLC_Shader::GLC_Shader(const GLC_Shader& shader)
|
||||
|
||||
GLC_Shader::~GLC_Shader()
|
||||
{
|
||||
qDebug() << "GLC_Shader::~GLC_Shader";
|
||||
//qDebug() << "GLC_Shader::~GLC_Shader";
|
||||
deleteShader();
|
||||
}
|
||||
|
||||
@ -214,7 +214,7 @@ void GLC_Shader::createAndLinkVertexShader()
|
||||
//Delete the shader
|
||||
void GLC_Shader::deleteShader()
|
||||
{
|
||||
qDebug() << "delete Shader";
|
||||
//qDebug() << "delete Shader";
|
||||
if (m_ProgramShader != 0)
|
||||
{
|
||||
// Test if the shader is the current one
|
||||
|
@ -96,7 +96,7 @@ int pjrc_rawhid::open(int max, int vid, int pid, int usage_page, int usage)
|
||||
int count=0;
|
||||
|
||||
if (first_hid) free_all_hid();
|
||||
printf("pjrc_rawhid_open, max=%d\n", max);
|
||||
//printf("pjrc_rawhid_open, max=%d\n", max);
|
||||
if (max < 1) return 0;
|
||||
// Start the HID Manager
|
||||
// http://developer.apple.com/technotes/tn2007/tn2187.html
|
||||
|
@ -84,7 +84,7 @@ int pjrc_rawhid::open(int max, int vid, int pid, int usage_page, int usage)
|
||||
hid_t *hid;
|
||||
|
||||
if (first_hid) free_all_hid();
|
||||
printf("pjrc_rawhid_open, max=%d\n", max);
|
||||
//printf("pjrc_rawhid_open, max=%d\n", max);
|
||||
if (max < 1) return 0;
|
||||
usb_init();
|
||||
usb_find_busses();
|
||||
|
Loading…
Reference in New Issue
Block a user