Skip to content

Commit

Permalink
OpenGLタブを強制的にアクティブに
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Magara committed Apr 21, 2023
1 parent 5b4c6b7 commit 0876aec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion NCVC/NCViewGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,6 @@ void CNCViewGL::OnDraw(CDC* pDC)
}
}
}

::glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
::glBindBuffer(GL_ARRAY_BUFFER, 0);

Expand Down
1 change: 1 addition & 0 deletions NCVC/NCViewTab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ void CNCViewTab::OnInitialUpdate()

// アクティブページ情報
int nPage = AfxGetNCVCApp()->GetNCTabPage();
ActivatePage(NCVIEW_OPENGL); // 一旦OpenGLタブをアクティブにする
if ( nPage < GetPageCount() )
ActivatePage(nPage);

Expand Down
1 change: 0 additions & 1 deletion NCVC/NCdataGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ void CNCline::DrawGLWirePath(RENDERMODE enRender, INT_PTR nID) const
::glColor3ubv(rgb);
::glVertexPointer(NCXYZ, GL_FLOAT, 0, pt);
::glDrawArrays(GL_LINES, 0, 2);

}

CNCdata::DrawGLWirePath(enRender, nID);
Expand Down
5 changes: 3 additions & 2 deletions docs/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
�y�o �^ ���z�@ncvc412.zip
�y���쌠 �ҁz�@�����@����
�y�Ή� �n�r�z�@Windows Vista �ȍ~�i�SVerOS�œ���m�F�����킯�ł͂���܂���j
�y�f �� ���z�@2023/04/14
�y�f �� ���z�@2023/04/21
�y�\�t�g��ʁz�@�t���[�\�t�g
�y�]�� �����z�@����ł��A��
===========================================================================
Expand Down Expand Up @@ -186,10 +186,11 @@ NCVC
�@�F��������NURBS�Ȗʂ̃p�X��������悤�ɂȂ���
�ENC�\��
�@�FOpenGL���K�V�[�֐��ł���glBegin()�ł̕`���p�~�i���g�̘b�j
�@�@���`��������オ���Ă��܂��D���̃X�e�[�W�ւ̕z�΁H
�@�@���`��������オ���Ă��܂��D�i���̃X�e�[�W�ւ̕z�΁H�j
�E�o�O���|�[�g
�@�FG91�ō쐬�����T�u�v���O������M98�Ăяo���Ńg���[�X���s����ƁC
�@�@�������`�悳��Ȃ������i�����Ƃ����`�悵�Ă��܂��j�o�O���C��
�@�F����̑�����s����OpenGL�̃\���b�h�\�����o�Ȃ��Ȃ�o�O���C��

4.10 �� 4.11 �ւ̕ύX��
�ENC�\��
Expand Down

0 comments on commit 0876aec

Please sign in to comment.